BCrypt GenerateSalt Method (Int32)Aerospike
Generate a salt for use with the HashPassword(String, String) method.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
Syntax

Parameters

workFactor
Type: System Int32
The log2 of the number of rounds of hashing to apply - the work factor therefore increases as 2**workFactor.

Return Value

A base64 encoded salt value.
See Also