Reputation
17,948
Next tag badge:
276/400 score
74/80 answers
Badges
2 27 78
Newest
 Revival
Impact
~448k people reached

Nov
13
revised How does asymmetric encryption work?
rolled back to a previous revision
Nov
13
revised Perfectly secret cipher can leak about the key?
deleted 30 characters in body
Nov
13
answered Perfectly secret cipher can leak about the key?
Nov
12
comment How a file is encrypted?
In any programming language, you can read them in to an array.
Nov
12
answered How a file is encrypted?
Nov
12
comment Is modern encryption needlessly complicated?
The security proof of OTP requires a true random pad. BBS does not meet this criteria.
Nov
11
comment Using bcrypt derived keys for encryption?
No, use the entire master key for both, but use a different "message" for HMAC.
Nov
11
revised Using bcrypt derived keys for encryption?
added 297 characters in body
Nov
11
answered Using bcrypt derived keys for encryption?
Nov
11
comment Using bcrypt derived keys for encryption?
First, the output of bcrypt is not a 248-bit key. It is 192-bit value encoded as base-64, which is why it is 248-bits. What are your requirements for the 512-bit key. Just that it is 512-bits long and uniformly distributed? Or do you require that it have a certain amount of entropy? Or is there something else? I'm assuming you are considering bcrypt and pbkdf2 so that brute force is slow. Is that correct?
Nov
11
comment Using bcrypt derived keys for encryption?
Why not just run bcrypt twice with a different salt?
Nov
11
comment Using bcrypt derived keys for encryption?
Do you have a reference for the 248-bit number?
Nov
11
revised Can RSA signing be implemented on top of RSA encryption/decryption?
deleted 220 characters in body
Nov
11
answered ASCII input to HMAC weaker than raw bytes?
Nov
11
answered Can RSA signing be implemented on top of RSA encryption/decryption?
Nov
11
comment Can RSA signing be implemented on top of RSA encryption/decryption?
@Vlix, there may be some details about MS CryptoAPI I don't understand. Technically if you MS CryptoAPI can compute $m^d\bmod{N}$ for some specially chosen $m$ (e.g. padding(sha256(your message))) then it may be possible. I'll leave this as is to see if someone else can comment.
Nov
11
comment Can RSA signing be implemented on top of RSA encryption/decryption?
Here are two questions and answers on this site that are related and you should understand: crypto.stackexchange.com/questions/12090/… crypto.stackexchange.com/questions/15997/…
Nov
11
comment openssl - Recommended way to encrypt and sign S/MIME messages using openssl
Take a look at this: security.stackexchange.com/questions/41399/…
Nov
11
comment Why is this cryptosystem insecure?
Hint: use GCD...
Nov
11
comment Why is this cryptosystem insecure?
It is hard to tell from the question what the math is. You can use TeX style formatting to clarify. Also, it is probably not wise to link to material that likely violates copyright law.