aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe/info.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-31 18:19:43 +0000
committerlloyd <[email protected]>2012-05-31 18:19:43 +0000
commitb82642c328d98f2aaa1ac17aa0999e69e7152ae8 (patch)
treea2a181c26709bd7995d519c9148c6f0bc06f143f /src/pbe/info.txt
parent75db296a459a9e25b112207707cc5e26a6f2b872 (diff)
Add new PBKDF interface that takes a std::chrono::milliseconds and
runs the KDF until at least that much time has passed, then returns the number of interations used. New parameter to the PKCS8 encryption routines which tells how long to run the PBKDF. Defaults to 200 milliseconds, which is short enough that it is unlikely to bother anyone but long enough to provide quite reasonable security against cracking attacks. On a Core i7-860, 200 ms with PBKDF2/SHA-1 runs about 180K to 220K iterations (compare with previous default of 10K). New PBE interface, remove new_params/set_key and require all inputs including the passphrase to be passed to the constructor. Drop the PGP S2K as it is pretty weird and not really useful outside of a full PGP implementation. Drop the deprecated PKCS8::encrypt_key and PKCS8::encode functions.
Diffstat (limited to 'src/pbe/info.txt')
0 files changed, 0 insertions, 0 deletions