10,302 reputation
12452
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 3 years, 5 months
seen 4 hours ago

Oct
9
comment AES file encryption with PBKDF2. Safe parameters?
1024 iterations is very low. If you can afford the performance hit, use a larger value. On a desktop computer you should be able to afford a million iterations.
Oct
8
comment How do TLS 1.1 and 1.2 generate IVs (initialization vectors) for each record?
The obvious implementation is requesting 16 bytes from the PRNG.
Oct
8
comment How does redundancy in a file effects performance and security of encryption?
Proper encryption doesn't notice redundancy. You're putting in a bunch of bytes, getting out a bunch of bytes and runtime only depends on the length of the input.
Oct
8
awarded  Nice Question
Oct
8
comment Does BouncyCastle (for ECC) resist timing attacks?
I wouldn't use the ECC code in BouncyCastle C#.
Oct
8
comment How does one use AES block cipher modes of operation?
I don't get your question. You say that you have 8 bit block size, but you also mention AES. That makes no sense. Do you mean that you need to encrypt messages which aren't a multiple of 128 bits without length increase?
Oct
8
reviewed Approve timestamping tag wiki
Oct
8
reviewed Approve timestamping tag wiki excerpt
Oct
8
reviewed Approve fortuna tag wiki
Oct
8
reviewed Approve fortuna tag wiki excerpt
Oct
7
comment Does ElGamal Encryption create a different key for each block sent?
cross-posted on SO
Oct
7
comment SHA-1 colission resistance proof
Those are essentially random numbers, but created in a way that doesn't allow the algorithm designer to choose them, so called Nothing up my sleeve numbers. I don't remember what SHA-1 chose, probably the first few hex digits of square-root of a small prime.
Oct
7
comment SHA-1 colission resistance proof
1) It isn't 2) Those properties generally don't have a proof.
Oct
7
comment Why are huge prime numbers important in cryptography?
Huge primes are not important in crypto. I've never seen a prime larger than 10000 bits in crypto. Finding huge primes is just a sport.
Oct
6
comment Does BouncyCastle (for ECC) resist timing attacks?
These are large libraries, some parts my be better than others. At least the ECC part looks vulnerable to timing attacks to me.
Oct
6
comment Practical disadvantages of GCM mode encryption
That kind of bug can happen with pretty much any kind of MAC. They're the reason why I like unit tests that cover all possible message length from 0 to a few hundred.
Oct
6
answered How does one deal with a negative “d” in RSA?
Oct
6
comment What is adversary's advantage in cryptography and why we use it?
@LateralFractal I'd guess having a site-index (which tells google what has changed) and being popular are the most important factors.
Oct
6
comment Is this a good entropy collector and whitening technique?
A sane algorithm would be secure if the entire seed material contained enough (somewhere between 100 and 200 bits) entropy. Your algorithm is only secure if each 512 bit block contains enough entropy. So it's clearly a bad design.
Oct
6
comment Is this a good entropy collector and whitening technique?
Step 3 is silly, and step 5 shows a misunderstanding of randomness