BCryptHashPassword Method (String, Int32)

Aerospike
Hash a password using the OpenBSD bcrypt scheme and a salt generated by GenerateSalt(Int32) using the given workFactor.

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,
	int workFactor
)

Parameters

input
Type: SystemString
The password to hash.
workFactor
Type: SystemInt32
The log2 of the number of rounds of hashing to apply - the work factor therefore increases as 2^workFactor.

Return Value

Type: String
The hashed password.
See Also

Reference