DAuth - Salted Hashed Password Library for D Core package
DAuth - Salted Hashed Password Library for D Hash_DRBG Cryptographic Random Number Generator
DAuth - Salted Hashed Password Library for D Random generators
This has been temporarily added to DAuth since it doesn't exist in Phobos before DMD 2.066: https://github.com/D-Programming-Language/phobos/pull/2129
DMD flags to enable DAuth unittests:
-unittest -version=DAuth_AllowWeakSecurity -version=DAuth_Unittest
DMD flags to enable DAuth unittests, but silence all non-error output:
-unittest -version=DAuth_AllowWeakSecurity -version=DAuth_Unittest -version=DAuth_Unittest_Quiet
Note that dauth.sha is not automatically included by "import dauth;" and must be imported separately. This is because it's only in DAuth temporarily (until SHA-2 is in Phobos). On compilers where SHA-2 exists in Phobos (ie, DMD 2.066 and up), then DAuth does NOT use dauth.sha.
The module dauth.hashdrbg is also excluded by default because a Phobos pull request is in the works.
import dauth; import dauth.sha; import dauth.hashdrbg;
zlib/libpng license, provided in https://github.com/Abscissa/DAuth/blob/master/LICENSE.txt.
© 2014 Nick Sabalausky