Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eran
on June 14, 2011
|
parent
|
context
|
favorite
| on:
My weekend project - AES encryption for Gmail or a...
I use counter mode with 256 bit key Key is generated as sha256 hash of the user password
tptacek
on June 14, 2011
[–]
That's also not a secure way of generating an AES key; those crypto keys can be cracked quickly. The problem you're trying to solve is the entire reason for PBKDF2.
You should also use SJCL's AES.
bdhe
on June 14, 2011
|
parent
[–]
You should also use SJCL's AES.
Here's the link:
http://bitwiseshiftleft.github.com/sjcl/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: