# All Questions

18,182 questions
33 views

### Set passes Dieharder randomness with ints values, fails when ints are split into bytes

I've generated 100M of random numbers in range (0..255). These numbers fail Dieharder tasts (bitnum = 8). However, I can pass this test by combining four bytes into an int. Randomness of the set didn'...
27 views

### Schnorr-signature calculating a coefficient

I need to create program that makes signature for selected file. I simplified algorithm a little, because I draw max 64 bit prime numbers instead of ...
14 views

23 views

### How openssl signature verication works?

I would like to know how openssl verifies a digital signature? I know that it uses this commande to verify a signature : ...
46 views

### What are sources for the performance difference in asymmetric and symmetric encryption?

I see the claim (which I'm not doubting) that encrypting data using asymmetric algorithms is slower than symmetric algorithms. But I never see citation on these claims, not here, on wikipedia or even ...
18 views

### Seeking Basic Guidance: HEX/CRC Manipulation [on hold]

I use an obscure report writing software everyday which has become very tedious to fill. There are no alternatives and no method of populating the data other than typing it in. I'm hoping to populate ...
23 views

69 views

### SHA-1 collision for strings of two symbols

Is it possible to have strings of two (Unicode) symbols with equal SHA-1 hash? For example, smth like "ab", "ba".
1k views

21 views

### RSA-based encryption scheme and random oracle

I don't really get how this problem should be solved. My main issue is with the random oracle generally, a short explanation of ROs and how they are used in such proofs maybe with this example will ...
20 views

### is a safe prime subgroup length important?

For most cryptographers, my question may appear silly. Context: Diffie Hellman. Object: finding good primes. Code: given that NodeJS program: ...
32 views

### Secure comparison protocol

I want to implement the existing comparison protocol using SEAL. For private comparison checking the existence of a 0 is possible with DGK scheme. Is there any other way to do it without DGK scheme? ...
32 views

### ElGamal variant

I came across this problem, while currently reading "Introduction to Modern Cryptography" by Katz and Lindell. I am new to crypto and just trying to go through the book and solve the exercises, ...
21 views

### How to select best safe primes for DH <-> subgroups?

I run a test on some safe primes. Here is the code: ...
64 views

### Can POS devices really generate random numbers?

I am doing an implementation of a system designed by a payment company and I am a little skeptical about the way they have designed the end to end cryptography. The system is as follows: There are ...
25 views

### Whats AES-256 max input size?

Does the AES-256 encryption standart have a max input length? If not, does it mean we can even translate a book to it? Like md5 doesnt care max input length?
17 views

### Which Auxiliary Hash Function to use for Pointcheval's mDP protocol

I study GKE+P group key agreement protocol presented on paper Flexible Group Key Exchange with On-Demand Computation of Subgroup Keys by Michel Abdalla, Céline Chevalier, Mark Manulis and David ...