aboutsummaryrefslogtreecommitdiffstats
path: root/src/s2k
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-01 17:28:20 +0000
committerlloyd <[email protected]>2010-02-01 17:28:20 +0000
commit121ca16daa158315682373213e150d9c18c28cdb (patch)
tree3dc90121a407ff31a89aa1d24632447b9993ccaa /src/s2k
parent05a9ad7281fb528636534a669db3ba8ae15b1d3b (diff)
Password hashing is a pretty useful service, really. Move the guts of
the passhash example to the library. Support variable work factors; default work factor of 10 takes about half a second to do one password on my Core2. Switch to using SHA-512 instead of SHA-1 in PBKDF2. To keep the output evenly sized for base64 purposes, reduce PBKDF2 output size by one byte (to 112 bits).
Diffstat (limited to 'src/s2k')
0 files changed, 0 insertions, 0 deletions