Creates an instance of the specified implementation of the
MD2 hash algorithm.
Namespace: LLCryptoLib.Security.CryptographyAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static MD2 Create(
string hashName
) |
Visual Basic |
---|
Public Shared Function Create ( _
hashName As String _
) As MD2 |
Visual C++ |
---|
public:
static MD2^ Create(
String^ hashName
) |
Parameters
- hashName
- Type: System..::..String
The name of the specific implementation of MD2 to use.
Return Value
A new instance of the specified implementation of MD2.
Exceptions
Exception | Condition |
---|
System.Security.Cryptography..::..CryptographicException | An error occurs while initializing the hash. |
System..::..ArgumentException | |
See Also