BCryptHashString Method (String, Int32)

Aerospike
Hash a string using the OpenBSD bcrypt scheme and a salt generated by GenerateSalt.

Namespace:  BCrypt.Net
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax

C#
public static string HashString(
	string source,
	int workFactor
)

Parameters

source
Type: SystemString
The string 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 string.
Remarks

Just an alias for HashPassword.
See Also

Reference