Reputation
Next tag badge:
71/100 score
19/20 answers
Badges
3 37 91
Newest
 Good Answer
Impact
~634k people reached

Jul
17
comment Cryptography in wireless medium
How to do something (or whether or not it is possible to do) in NS2 is off-topic on this site. We could migrate the question to StackOverflow, which at least has an NS2 tag. What do you think?
Jul
17
comment Cryptography in wireless medium
A few questions for you: What is ns 2.35? Why are you encrypting packets using asymmetric cryptography? Asymmetric crypto should not be used for bulk encryption. Why are you using the quantum-cryptography tag? That doesn't seem to make sense with the question.
Jul
16
comment curious DHE implementation for key exchange
@sejpm good point
Jul
16
comment curious DHE implementation for key exchange
How large is $X$?
Jul
16
answered curious DHE implementation for key exchange
Jul
16
comment Problems implementing AES in CBC+CTS mode
when you say "I am unable to get the second [to] last plaintext block to decrypt properly", does that mean the last block also decrypts incorrectly? So it is really the last two blocks? Is the plaintext length a multiple of 16 or is padding involved?
Jul
16
comment Problems implementing AES in CBC+CTS mode
Do you think it is a problem with the cryptography/CTS or with the programming? If the latter, this should be on StackOverflow.
Jul
16
comment curious DHE implementation for key exchange
It can't (unless p is really small).
Jul
16
comment curious DHE implementation for key exchange
20 bytes is 160 bits, which could be SHA-1. You could try sending specific values to the server, and see if it is just a SHA-1 hash of the data you send it. I don't see how a shared key is even possible unless the server knows $X$, which it doesn't appear to.
Jul
16
comment curious DHE implementation for key exchange
Is that a typo in B? Is it really $4$ instead of $g$?
Jul
16
answered Correctness of ideal protocol of MPC in presence of malicious adversary
Jul
15
revised What good is a hash accompanying a program?
added 116 characters in body
Jul
15
comment What good is a hash accompanying a program?
@Gilles, true, just look at the abysmal state of the Tor signing keys
Jul
15
answered What good is a hash accompanying a program?
Jul
15
answered Get AES key from client request
Jul
15
comment Which symmetric cipher is best for studying?
@Superpelican never looked at it, so can't really say. Amazon reviews tend to be pretty accurate though.
Jul
15
comment Correctness of ideal protocol of MPC in presence of malicious adversary
Are you assuming honest majority? Also, what do you mean by modified inputs? For example, if the malicious party's input is $5$ and they instead send $0$? There isn't anything you can do in that case.
Jul
13
comment Extracting a WinRAR password
@ASD, I still don't have a clear picture of what is encrypted and how. The answer below by otus is correct if RAR encryption is used. But, based on our discussions it sounds like that might not be the case. It sounds like files are encrypted using some custom method then all the encrypted files are combined using WinRAR.
Jul
10
comment What is degree of randomness in individual bits of MD5 hash?
Please tell me you are not using MD5 in a real system.
Jul
10
comment Encrypt with K1, K2 and decrypt in opposite with K2, K1
I think the term you are looking for is commutative-encryption. Modern block ciphers are not commutative, so the statement does not hold for them in ECB mode.