aboutsummaryrefslogtreecommitdiffstats
path: root/src/passhash
Commit message (Collapse)AuthorAgeFilesLines
* Make SHA-256 the default instead of SHA-1 in passhash9 - it's beenlloyd2013-04-042-4/+16
| | | | | | | | supported since 1.8.10, so shouldn't be any problems there. Add support for SHA-384 and SHA-512. Check for work factors over 512 and reject for now as too large.
* Replace 0 and NULL pointer constants with nullptr. Also fix an oldlloyd2012-05-181-2/+2
| | | | style cast in secmem.h
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-182-11/+11
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-132-3/+9
|\ | | | | | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| * Use unique_ptr instead of auto_ptrlloyd2011-03-081-2/+7
| | | | | | | | Use std::to_string in bcrypt
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2011-03-081-1/+2
| | | | | | | | | | | | dd068808e5bf87c982765a8bcc314996053a5bdd) to branch 'net.randombit.botan.c++0x' (head 34696d52a8148d64f7021b3e193fc56f051b9dd2)
* | Add base64_decode. Seems to work OK, though incremental decoding islloyd2011-05-121-9/+1
| | | | | | | | not well tested.
* | Make the alg_id param for passhash9 optional. Update callers.lloyd2011-04-112-23/+4
|/
* Move password hashing schemes to src/passhashlloyd2011-02-176-0/+407
Set the upper limit on bcrypt hashing to workfactor 18, which takes about 25 seconds to run on my desktop machine.