BCryptHashPassword Method (String, String)

Aerospike
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: String
The hashed password
Exceptions

ExceptionCondition
ArgumentExceptionThrown when one or more arguments have unsupported or illegal values.
See Also

Reference