BCrypt.Net.BCrypt.GenerateSalt C# (CSharp) Method

GenerateSalt() public static method

Generate a salt for use with the BCrypt.HashPassword(string,string) method selecting a reasonable default for the number of hashing rounds to apply.
public static GenerateSalt ( ) : string
return string
        public static string GenerateSalt()
        {
            return GenerateSalt(GENSALT_DEFAULT_LOG2_ROUNDS);
        }

Same methods

BCrypt::GenerateSalt ( int workFactor ) : string