Small tags/sites
21 tags on

Small tags/sites

ABout a new algorithm in cryptography

Is there any talented person present here who can decrypt my encrypted files? I am damn sure no one here can take this challenge.

How does CryptVerifyTimeStampSignature verifies the timestamp signature in windows?

Hi we are developing Win 7 VC++ app using Crypto APIs. Here we time stamp data using CryptVerifyTimeStampSignature() method. We observed that CryptVerifyTimeStampSignature() does not accept TSA ...

DBMS_CRYPTO.RANDOMBYTES returns null

This statement returns null instead of 64 random bytes: select DBMS_CRYPTO.RANDOMBYTES(64) from dual; What is causing it to return null? Database is Oracle 10.1.0.2.0 running on Windows Server 2003 ...

How to combine crypto hashes?

Final goal: I want to identify equality of mesh geometry data (and other attributes) my choice of the mean: by comparing their "top sha1 hash". But to make the top hash, I need to combine hashes ...

English Grammar Check, vim-latex, in line (on terminal)

Grammar-checking tool for use with LaTeX? its been 4 years from this question which is asking about the grammar check for latex. more than 30,000 views, is there any update for better method to do ...

asked 1 hour ago by Tom on stackoverflow.com

using a matrix table for mathematical purpose

I need to know how to use matrices on this site for a mathematical argument, maybe this question was asked a lot, but I couldn't find the answer for this through the site, any link?

JSch lls command does not reflect directory change by lcd command

I'm working on an SFTP project in Java, using JSch library. The code I'm currently using is: http://www.jcraft.com/jsch/examples/Sftp.java.html The problem I have encountered is that: My default ...

Android encrypt/decrypt the whole csv file

I am trying to encrypt/decrypt the whole csv file.Till now what I have done is encrypt the data in csv file data one by one but encrpyting and decrypting data one by one is not a good practise. So ...

Reading specific parts of a text file using Scanner in Java

I have gone through most of the questions related to reading a Text file using the Scanner class here, but I still don't understand how I parse the following text into different variables and then ...

Why rogued certificate from hash collision is harmful

I cannot understand why rogued certificate is thought harmful though It can be used to impersonate some website. The attacker can craft a rogued certificate with different identities and public key ...

LaTex Summary Table Options for Zelig MLogit Results

Back a second time in one week - I apologize. I've been trying to extract my summary stats from an mlogit model run through Zelig using texreg, stargazer and memisc. texreg throws me the following ...

How to store and retrieve RSA private key from a database table?

My application uses a private key to connect to SFTP using a keyfile. When I test my code and reference a private key file stored on my computer, I can connect successfully. The content of the ...

What is SHA-256 in Conjunctive Normal Form?

What is the conjunctive normal form (CNF) representation of $\text{SHA-256}(m)=h$, where $m$ is of fixed (or bounded) size and $h$ is 256 bit?

How to store objects in plist

I have some CGPoints that I need to store in a NSDictionary then write to a file. Later, I need to be able to load the file into a NSDictionary and access the CGPoint within. self.dict is the ...

AES 256 on the client side (JS) and in the server (PHP)

I'm trying to encrypt and decrypt data on the server side and the client using the same type of operation, which is AES-256. On the server I use PHP and client I use CryptoJS so far I could only ...

Known plaintext attack on 3 round SIMON block cipher

I am attempting to write a program to perform a linear approximation attack on a reduced round version of the SIMON block cipher, but I am stuck on how to actually apply the linear approximation to ...

Known plaintext attack on 3 round SIMON block cipher

I am attempting to write a program to perform a linear approximation attack on a reduced round version of the SIMON block cipher, but I am stuck on how to actually apply the linear approximation to ...

AES 256 em JavaScript e PHP [comunicaçao]

Como eu posso encriptar/decriptar dados com o algoritimo AES 256 do lado do servidor (PHP) e decriptar/encriptar usando os mesmos critérios do lado do cliente (JavaScript) Estou a pesquisar e nao ...

Is it possible to convert a gpg key to a different encryption algorithm

Maybe the answer to this question is a simple and unequivocal "No", followed by "How can you possibly think that this is possible?". And if I think about it rationally this seems to be the only ...

How do I get the “left-most 128 bits of a byte array”?

So I'm reading through the JWT token format as described at Open ID Connect and one of the fields (at_hash) says that it is the left-most 128 bits of hash made from the oauth access token. So what ...

Under what conditions did a Bletchley bombe stop?

I am trying to understand the conditions necessary for one of the Bletchley Park bombes to stop. Let me give an example. I have been experimenting with Enigma machine and bombe simulators to try to ...

asked 12 hours ago by Geoff on crypto.stackexchange.com

package and run sample application as a JAR with Netbeans

I want to compile and package this sample code: thufir@dur:~/NetBeansProjects/HelloAsterisk/src$thufir@dur:~/NetBeansProjects/HelloAsterisk/src$ javac -cp asterisk-java.jar ExampleCallIn.java ...

Invariant under conjugacy: Is there a similar statement for the other inequality?

There is the following Theorem for the topological entropy $h(T)$: If $X_1,X_2$ are compact spaces and $T_i\colon X_i\to X_i$ are continuous for $i=1,2$, and if $\Phi\colon X_1\to X_2$ is a ...

asked 14 hours ago by math12 on math.stackexchange.com

aes encryption and decryption through tcp.Input length must be multiple of 16 when decrypting with padded cipher

I see this "Input length must be multiple of 16 when decrypting with padded cipher" error when I run the program RealEchoServer.java import java.io.*; import java.net.*; import java.security.*; ...

DHKE choice of private keys

In some literature it is written that the private key should be chosen random from {2,3, ..., p-1} and in some it says {2,3, ..., p-2} I guess p-1 is a weak private key, but why is that so? The ...

what are the NTRU keysize and application in industry ?

I'm a student currently working on a research project on the NTRU cryptosystem, I've read some papers about this cryptosystem, and in those papers they are talking about keysize, is it the size of the ...

Rabin cryptosystem with 1 mod 4

We have p and q which are distinct primes congruent to 1 mod 4. Then we have n = p*q. Do you know any algorith for calculating square roots for the decryption in this case? I'm asking for some ...

Are there drawbacks to encrypting data locally before being encrypted in cloud backup (multiple encryption)?

I am planning on backing up my hard drive using a cloud backup service but have become skeptical of the industry based on incidents like these: ...