dauth

DAuth v0.6.2 - Salted Hashed Password Library for D

Writen in the D programming language.

Tested with DMD 2.064.2 through DMD 2.067.0

Homepage: https://github.com/abscissa/DAuth

More...

Modules

core
module dauth.core

DAuth - Salted Hashed Password Library for D Core package

hashdrbg
module dauth.hashdrbg

DAuth - Salted Hashed Password Library for D Hash_DRBG Cryptographic Random Number Generator

random
module dauth.random

DAuth - Salted Hashed Password Library for D Random generators

sha
module dauth.sha

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

Detailed Description

This API Reference

http://semitwist.com/dauth

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 all:

import dauth;
import dauth.sha;
import dauth.hashdrbg;

Meta

Authors

Nick Sabalausky