diff options
author | lloyd <[email protected]> | 2010-02-02 10:48:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-02-02 10:48:48 +0000 |
commit | cf3e984dbffc0fb2a695306a9b4d53257bb74ea8 (patch) | |
tree | fbe0e6326c0bf33e3540f9b7b1905aba1e5cf755 /src/s2k | |
parent | 121ca16daa158315682373213e150d9c18c28cdb (diff) |
Prefix passhash with "$9$" in a manner similar with other
password hashing schemes.
Increase salt size to 80 bits.
Research shows that virtually no other PBKDF2 implementations support
anything but SHA-1; for ease of implementation elsehwere switch back
from SHA-512 to SHA-1. Should be mostly harmless; it limits total
entropy of the password to a maximum of 160 bits, but this is unlikely
anyway.
Use two bytes to specify the work factor for future-proofing.
Add a test.
Diffstat (limited to 'src/s2k')
0 files changed, 0 insertions, 0 deletions