1,544 reputation
1517
bio website
location Madrid, Spain
age
visits member for 2 years
seen 17 hours ago

May
23
answered Encryption and HMAC key derivation
May
5
awarded  Informed
May
3
awarded  Notable Question
Apr
30
comment Why must IV be sent with each packet?
Related reading: crypto.stackexchange.com/questions/2641/…
Apr
21
comment Usage of different size chunks during AES encryption/decryption
I'm guessing it has something to do with padding, as CBC requires encryption in whole blocks. Perhaps mcrypt adds padding which is corrupting your data? Does changing the mode of operation from CBC to CTR produce the same problem?
Apr
15
accepted Are there any elliptic curve asymmetric encryption algorithms?
Apr
15
comment Are there any elliptic curve asymmetric encryption algorithms?
@DrLecter - thanks for humouring me. You should post it as an answer.
Apr
15
comment Are there any elliptic curve asymmetric encryption algorithms?
@CodesInChaos - Why? Curiosity... nothing more. I'm not researching this for a practical application.
Apr
15
revised Are there any elliptic curve asymmetric encryption algorithms?
edited title
Apr
14
comment Are there any elliptic curve asymmetric encryption algorithms?
@DrLecter - From what I understand, ECIES uses symmetric encryption (albeit with a shared secret, derived by means of asymmetric cryptography), does it not? I'm looking for asymmetric encryption. I did say scheme, so perhaps I should have been more explicit. I want to know whether there's an algorithm that employs ECC that is similar to RSA in that a short message can be encrypted with a public key, and decrypted with a private key.
Apr
14
asked Are there any elliptic curve asymmetric encryption algorithms?
Apr
9
comment Secure AES Key Generation via Salsa20?
A correct implementation isn't enough - you also need to know how to use it correctly. There's no "winner", per se. It just depends on your requirements/circumstances... but without having made a case for managing your own CSPRNG (and it is hands on), I'd definitely suggest you use /dev/random. Anything beyond this - I suggest posting another question (assuming your own research doesn't answer any further questions you might have).
Apr
9
comment Secure AES Key Generation via Salsa20?
They're both CSPRNGs, yes. If you don't have much experience in crypto, and you've got no good reason to implement your own CSPRNG (such as Fortuna), then /dev/random is a much safer bet. You don't have to concern yourself with entropy, seed-life, etc.
Apr
9
comment Secure AES Key Generation via Salsa20?
@XCore - Yes, Fortuna is another CSPRNG that uses a symmetric block-cipher as one of its internal mechanisms.
Apr
8
comment SHA256-based stream cipher
+1 for pointing out the lack of authentication. AES-GCM seems like a much better option.
Apr
8
comment SHA256-based stream cipher
Unbreakable? That's a bold claim.
Apr
7
comment Convert SpookyHash to semi-secure 192bit hash
@e-sushi - you understood perfectly well ;-)
Apr
7
answered Secure AES Key Generation via Salsa20?
Apr
7
comment Convert SpookyHash to semi-secure 192bit hash
"How secure will this function be?" Semi.
Apr
5
comment Wrong Test Vector for HKDF with HMAC-SHA256
I can also confirm that I'm getting the expected results as per that test vector