Hash a password using the OpenBSD bcrypt scheme.
Namespace: BCrypt.Net
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax
C#
public static string HashPassword( string input, string salt )
Parameters
- input
- Type: SystemString
The password to hash. - salt
- Type: SystemString
the salt to hash with (perhaps generated using BCrypt.gensalt).
Return Value
Type: StringThe hashed password
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when one or more arguments have unsupported or illegal values. |
See Also