Method Hash
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
Hash(ReadOnlySpan<char>)
Produces the record to store for one password.
string Hash(ReadOnlySpan<char> password)
Parameters
passwordReadOnlySpan<char>The plaintext, which is read within the call and never retained.
Returns
- string
The stored representation, carrying its algorithm, version, work parameters, and salt.
Remarks
Two calls with one password return different records, because each carries its own random salt. Nothing may compare two records for equality.