Reputation
351
Top tag
Next privilege 500 Rep.
Cast close & reopen votes
Badges
1 5 15
Impact
~38k people reached

Mar
28
comment Why are RSA key sizes almost always a power of two?
maybe it has to do with being the powers of 2?
Aug
17
comment How can my application make sure the right symmetric key is used for decryption?
Here's what I understood, correct me if I am wrong. For encryption, create a random key and encrypt the PlainText. Then encrypt this key with the user entered password and store it. So while decrypting, I have to decrypt the saved key using the User provided password. So how can I know the decrypted key is same as the one generated during Encryption. It is a random key, right?
Jul
29
comment How can my application make sure the right symmetric key is used for decryption?
lolz, you don't want to be spending a couple of mins decrypting some 100Mb+ file to find out the file is broken, with no info that the password is wrong. Plus the original file's extension is also encrypted and stored.
Jul
17
comment Encrypted text length in AES
yes, i am using ECB mode, i will check using CBC mode then.