isSameHash
- bool isSameHash(Password password, Hash!TDigest sHash, Salter!TDigest salter = toDelegate(&defaultSalter!TDigest))
- bool isSameHash(Password password, Hash!TDigest sHash, Salter!Digest salter = toDelegate(&defaultSalter!Digest))
- bool isSameHash(Password password, DigestType!TDigest hash, Salt salt, Salter!TDigest salter = toDelegate(&defaultSalter!TDigest))
- bool isSameHash(Password password, ubyte[] hash, Salt salt, Digest digest = new DefaultDigestClass(), Salter!Digest salter = toDelegate(&defaultSalter!Digest))
bool
isSameHash
()
(
,,,Digest digest = new DefaultDigestClass() , )
- bool isSameHash(Password password, ubyte[] hash, Salt salt, Salter!Digest salter)
dauthcore
aliasesclassesfunctionsstructstemplates
Validates a password against an existing salted hash.
If sHash is a Hash!Digest, then sHash.digest MUST be non-null. Otherwise this function will have no other way to determine what digest to match against, and an UnknownDigestException will be thrown.