CrypterGenerateSalt Method | CryptSharp |
Generates a salt string with default options.
The purpose of salt is to make dictionary attacks against a whole password database much harder,
by causing the crypted password to be different even if two users have the same uncrypted password.
Namespace: CryptSharp
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public string GenerateSalt()
Public Function GenerateSalt As String
public: String^ GenerateSalt()
member GenerateSalt : unit -> string
Return Value
Type: StringThe salt string.
See Also