Key-stretching adds additional security to potentially weak keys by requiring an expensive computation to transform the initial key into a derived key.
3
votes
1answer
1k views
BCrypt+SHA256 vs PBKDF2-SHA256
From this question, the OP posited taking a user's entered password, running it through BCrypt, then running that through SHA256 to produce a 256-bit password-derived key. (EDIT: To clarify, these two ...
2
votes
0answers
22 views
Can I use the same password both for SRP and for client-side encryption?
Suppose a less-than-trusted server is used to store users' confidential data (encrypted at the client side), and both tasks - authentication and encryption/decryption - should be doable with a single ...
1
vote
2answers
107 views
Should hashing hashed hashes colide or not?
Since key stretching basically boils down to hashing hashes over and over again (where salt, pepper and password individualize the hash function, but the principle remains the same), I wonder about ...
0
votes
1answer
66 views
Should I run my password through Bcrypt before using it for encrypting a file with AES-256? [duplicate]
I need to encrypt a file with a password that can be memorized. So I was thinking about running the password through some rounds of Bcrypt before using it for AES encryption, so every time I want to ...