Checks if the particular crypt algorithm is compatible with the salt string or crypted password.
Namespace: CryptSharpAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
public override bool CanCrypt(
string salt
)
Public Overrides Function CanCrypt ( _
salt As String _
) As Boolean
Public Overrides Function CanCrypt ( _
salt As String _
) As Boolean
public:
virtual bool CanCrypt(
String^ salt
) override
public:
virtual bool CanCrypt(
String^ salt
) override
abstract CanCrypt :
salt : string -> bool
override CanCrypt :
salt : string -> bool
Parameters
- salt
- Type: System String
The salt string or crypted password.
Return Value
true if the algorithm is compatible.