(Dates below are YYYY/MM/DD)
- Fixed: #8: Fixed for DMD 2.086, drop support for DMD 2.065 and below. (@John-Colvin)
- Fixed: #4: Randomness returns same value in separate executions.
- Enhancement: Supports DMD 2.066.0. (Now supports DMD 2.064.2 through 2.066.0.)
- Enhancement: Supports crypt(3)-style hash strings. Currently supports
$1$
(MD5),$5$
(SHA-256) and$6$
(SHA-512). - Enhancement: Improved API reference by using ddox.
- Change: Rename
isPasswordCorrect
toisSameHash
. Old name temporarily maintained as an alias. - Change: Removed
dauth.hashdrbg.isSomeStream
because it's named wrong, unused, and not particularly useful anyway.
- Enhancement: Added cryptographically secure hash/digest algorithm SHA-2. Note: DAuth is only a temporary home for SHA-2 until it's added to Phobos)
- Enhancement: Added cryptographic random number generator Hash_DRBG and OS-native random number generation. Note: DAuth is may only be a temporary home for these. A pull request for std.random will be made.
- Enhancement: Added this changelog.
- Change: Default digest upgraded from SHA-1 to SHA-512.
- Change: Default random number generator upgraded from Mt19937 to Hash_DRBG using SHA-512.
- Change: Change callbacks from function to delegate.
- Change: Split DAuth into separate modules (maintaining support for
import dauth;
via package.d). - Fixed: Blindly accepted (unsupported) non-uint random number ranges instead of rejecting them with constraints.
- Fixed: Calling
isPasswordCorrect(Password, Hash!Digest)
fails with ugly compile error. - Fixed:
dub.json
broken, wrong format forsourcePaths
andimportPaths
.
- Fixed: DUB package names must be all-lowercase.
- Initial release