Reputation
16,877
Next tag badge:
98/100 score
21/20 answers
Badges
2 24 71
Newest
 Informed
Impact
~399k people reached

Jul
25
comment Key Derivation from random salted seed, HMAC and HMAC based KDF
Note that you have another question on here with the exact same title.
Jul
25
comment Key Derivation from random salted seed, HMAC and HMAC based KDF
If you use the proper OS provided random number generators, then yes, they are good enough for encryption.
Jul
25
comment Key Derivation from random salted seed, HMAC and HMAC based KDF
To add to what otus says, most operating systems have built in random number generators. Most mobile device platforms (iOS and Android) have good random number generators built in. Why not just generate a 128-bit (or 192 or 256) random value and use that directly?
Jul
24
revised Vigenère cipher: Security when key length and plaintext length are the same
edited tags
Jul
22
comment RSA with modulus n=p²q
@Thor, I don't think CGFoX is planning on making the primes smaller to achieve the same bit size. Especially since the question specifies that using $p^2q$ would allow operations on a bigger $\mathbb{Z}_n$. That said, if the only benefit is a larger group, I would just pick larger primes to get the larger group personally (as you suggest).
Jul
22
revised MAC using a modified CBC mode of operation
edited body
Jul
22
revised RSA with composite numbers
added 6 characters in body
Jul
22
revised MAC using a modified CBC mode of operation
deleted 10 characters in body; edited tags
Jul
22
comment Lowest number challenge scheme
@fkraiem remember though, you would have to always run the coin-flip (whether there was a tie or not), otherwise you leak whether or not there was a tie. My point is, things can get complicated.
Jul
18
reviewed Approve Polynomial representation of the affine part of the AES S-box
Jul
18
comment Polynomial representation of the affine part of the AES S-box
Could you explain what l0-l8 are? I'm too lazy to read the paper right now.
Jul
18
comment Storing encryption key
Is this a stand alone app, or a client server app?
Jul
17
revised Given $g$, $b$, $g^{ab}$, is finding $g^a$ a hard problem?
rolled back to a previous revision
Jul
17
revised Given $g$, $b$, $g^{ab}$, is finding $g^a$ a hard problem?
Tried to make the computations more explicit.
Jul
17
comment Given $g$, $b$, $g^{ab}$, is finding $g^a$ a hard problem?
In what group is $b^{-1}$ computed?
Jul
15
comment Decrypting an encrypted text out of order
Use a stream cipher
Jul
15
comment Decryption issue with self-coded AES-128
Richie, you are right. I realized that after I typed my comment and just left it. Feel free to roll back if you want.
Jul
15
comment CBC-MAC length extension attack with IV simulation
Are you able to capture many messages or just one? If so, do some of them have your account and the amount 1000000? If you could post example messages, that would be helpful.
Jul
15
comment Ciphertext indistinguishability (IND-CPA) for symmetric cryptography
Not if the IV is changing. That is why the comment I linked to is so important. An encryption algorithm is just a primitive, how are you actually going to use it? That is what you have to define.
Jul
15
comment Ciphertext indistinguishability (IND-CPA) for symmetric cryptography
This comment as well as the answers, etc might interest you.