CrypterGetCrypter Method | CryptSharp |
Searches for a crypt algorithm compatible with the specified crypted password or prefix.
Namespace: CryptSharp
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public static Crypter GetCrypter( string cryptedPassword )
Public Shared Function GetCrypter ( cryptedPassword As String ) As Crypter
public: static Crypter^ GetCrypter( String^ cryptedPassword )
static member GetCrypter : cryptedPassword : string -> Crypter
Parameters
- cryptedPassword
- Type: SystemString
The crypted password or prefix.
Return Value
Type: CrypterA compatible crypt algorithm.
Exceptions
Exception | Condition |
---|---|
ArgumentException | No compatible crypt algorithm was found. |
See Also