CrypterCrypt Method (String, CrypterOptions) | CryptSharp |
Creates a one-way password hash (crypted password) from a password string.
Options modify the crypt operation.
Namespace: CryptSharp
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public string Crypt( string password, CrypterOptions options )
Public Function Crypt ( password As String, options As CrypterOptions ) As String
public: String^ Crypt( String^ password, CrypterOptions^ options )
member Crypt : password : string * options : CrypterOptions -> string
Parameters
- password
- Type: SystemString
The password string. Characters are UTF-8 encoded. - options
- Type: CryptSharpCrypterOptions
Options modifying the crypt operation.
Return Value
Type: StringThe crypted password.
See Also