9,844 reputation
12450
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 3 years, 3 months
seen 2 hours ago

Dec
4
comment The real-life meaning of proving over a group that doesn't support the oracle?
An oracle gives an advantage to the attacker. So absence of the oracle shouldn't hurt security. (Though for some schemes, absence of the oracle means that the legitimate user can't be implemented efficiently. For example BLS requires uses cheap DDH to validate the signature.)
Dec
4
comment How can I use SSL/TLS with Perfect Forward Secrecy?
NIST curves are a bit suspicious since they contain large constants chosen without proper application of nothing-up-my-sleeve techniques. But we don't have any idea how such a weakness would work.
Dec
3
comment RSA performance
@Ajit If you were to somehow encrypt a long message with RSA, the performance would decrease linearly with the length of the message. Since RSA is pretty expensive, that'd be rather slow (perhaps 100kB/s). But almost nobody does that (use hybrid encryption instead), and the common RSA standards don't specify how to do so.
Dec
3
comment Why can an RSA signature be authenticated ONLY with the signer's public key?
It doesn't come down to probability if the match is deliberate. For example to claim "I wrote this message, there is my signature on it".
Dec
3
comment Why doesn't this dummy mutual authentication protocol provide mutual authentication?
Another problem is that Bob who received a (R, [R+1]A) pair from Alice, can use that pair to impersonate Alice to any third party.
Dec
3
comment Why doesn't this dummy mutual authentication protocol provide mutual authentication?
You can't simply "authenticate". You need to authenticate something. For example a specific message or connection. Else Eve who receives an incoming connection from Alice might simply open a connection to Bob, ask him for [R]B, send that back to Alice, obtaining [R+1]A and send that to Bob. At that point she has authenticated as Alice to Bob and as Bob to Alice.
Dec
3
comment Why doesn't this dummy mutual authentication protocol provide mutual authentication?
Is [R]B the encryption of R using the key B?
Dec
3
comment Why can an RSA signature be authenticated ONLY with the signer's public key?
One way to prevent this is including the public key in the hashed data. I think Thomas Pornin wrote a paper about these issues: Digital Signatures Do Not Guarantee Exclusive Ownership
Dec
3
comment RSA performance
You shouldn't encrypt the message itself with RSA (at least for long messages). Create a random AES key,encrypt message with that key, encrypt AES key with RSA. That way you only pay the much smaller AES cost for the message, and only a single costly RSA encryption.
Dec
3
comment Is the composition of collision resistant hash with non collision resistant hash a collision resistant hash?
Not always, but in practice it will often be even for relatively weak hashes $h_2$. The most important property required of $h_2$ is that preserves at least $2n$ bits of entropy, where $n$ is the target security level. (even that's not sufficient in pathological cases)
Dec
3
reviewed Approve suggested edit on Is the composition of collision resistant hash with non collision resistant hash a collision resistant hash?
Dec
3
reviewed Approve suggested edit on Graphically representing points on Elliptic Curve over finite field
Dec
3
answered IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Dec
3
reviewed Approve suggested edit on IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Dec
3
comment Using the same RSA keypair to sign and encrypt
Depends on tricky details of the padding scheme you use and your implementation. It'd generally discouraged to reuse keys like that.
Dec
3
comment What is the chance of a collision when using SHA-3?
1) There is no SHA-3 yet. Keccak has won the competition, but some details haven't been specified. 2) That depends on the output size, which you didn't specify. A hash outputs bytes, not characters. 3) Don't hash passwords with SHA-3. Use bcrypt, scrypt or PBKDF2 4) collisions have little relevance to password hashing, what matters is one-wayness or first pre-image resistance.
Dec
2
reviewed Approve suggested edit on IV's from Crypto++ AutoSeededRNG always ends the same: Problem with the PRNG?
Dec
2
revised Did NIST verify “post-quantum” claims in the SHA3 proposal papers?
added 227 characters in body
Dec
2
answered Did NIST verify “post-quantum” claims in the SHA3 proposal papers?
Dec
2
reviewed Approve suggested edit on Is this encryption scheme perfectly secure?