CrypterEnvironment.TryGetCrypter Method

CryptSharp

CrypterEnvironmentTryGetCrypter 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 bool TryGetCrypter(
	string cryptedPassword,
	out Crypter crypter
)
Public Function TryGetCrypter ( 
	cryptedPassword As String,
	<OutAttribute> ByRef crypter As Crypter
) As Boolean
public:
bool TryGetCrypter(
	String^ cryptedPassword, 
	[OutAttribute] Crypter^% crypter
)
member TryGetCrypter : 
        cryptedPassword : string * 
        crypter : Crypter byref -> bool 

Parameters

cryptedPassword
Type: SystemString
The crypted password or prefix.
crypter
Type: CryptSharpCrypter
A compatible crypt algorithm.

Return Value

Type: Boolean
true if a compatible crypt algorithm was found.
See Also

Reference