224 reputation
8
bio website
location
age
visits member for 11 months
seen 2 hours ago

1d
comment Positioning of keys in encrypted text
The name of that technique is "EXTREMELY BAD"
1d
comment Positioning of keys in encrypted text
What? There IS NO KEY IN THE CIPHERTEXT!!! Ever!
Apr
9
comment Multi cipher CTR
yes, this would be better than breaking one cipher and that resulting in breaking the whole ciphertext
Apr
8
comment Multi cipher CTR
why silly? In order to break this, one would have to break all ciphers.
Apr
8
comment Multi cipher CTR
yes, in essence that's it
Apr
8
comment Multi cipher CTR
It's never the same block, it's the next block ...
Apr
8
comment Multi cipher CTR
You misunderstood... they is only one IV, the first cipher encrypts it and xors the result to the first block of plaintext, the second cipher encrypts iv+1 and xors that in the next block of plaintext
Apr
8
comment Multi cipher CTR
cipher 1 is used with key one to encrypt the IV, this is xored with the first block of plaintext, then cipher 2 is used with key 2 and IV+1, then cipher 3 then back to cipher 1... do you understand this ?
Apr
8
comment Multi cipher CTR
If this is a secure mode of operation? Using 3 cipher like this
Apr
1
comment Encrypting the same message using different schemes
if E1 and E2 are both IND-CPA then that combination should also be IND-CPA
Feb
5
comment Key change and key derivation
That would be bad ... as it might open the encryption to a related key attack...
Feb
5
comment Key change and key derivation
Both, as I recall they mean the same thing...
Dec
15
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Man, I don't believe your encryption scheme is secure at all... Where are you using the prepended IV? It seems to me you're just adding it , and encrypting with an all 0 IV and then discarding it.. but not using it anywhere
Dec
13
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Your iv storing method requires double encryption, right?
Dec
5
comment Enhance CSPRNG output
How to determine if two PRNG are independent? I am thinking about using the default apple PRNG secCopyRandomBytes and the AutoSeeded RNG from the Botan library? How do I know that both of them don't do similar things inside?
Dec
3
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
I have tryed this with the secCopyRandomBytes RNG from apple ... the same result ...the hex/base64 has a fixed string at the end
Dec
3
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
see my comment on Richie's question
Dec
3
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
I like your prepend the IV to the ciphertext method. In the debugger it shows the iv as a 16 byte random array. So the stuff at the end appears when it's converted to hex/base64... but I need it in that format so I can write it in a text file...
Dec
2
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
updated question to show HEX
Dec
2
comment IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Yes, but where is the implementation problem? In my code? in the library?