Method HashDecoy
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
HashDecoy()
Produces a record no password matches, for comparing against a username this deployment holds nothing for.
string HashDecoy()
Returns
- string
The stored representation of a password nothing retained.
Remarks
The point is the cost rather than the value, which is why this belongs to the hasher rather than to its caller: what makes an unresolved username indistinguishable from a resolved one is that verifying against this costs what verifying against a real record costs, and only the adapter knows the weakest work parameters any record it would still accept may carry. A caller that derived its own decoy would pin it to today's parameters and reopen the difference the first time they are raised.