HMACStatic: Create

Create

Returns an HMAC implementation based on the algorithm name provided.



 Public Function Create(
	  Optional ByVal AlgName As String = "HMACSHA1" ) As HMAC

Parameters

AlgName
[ByVal] Optional. String. The name of the HMAC implementation to create.  

Default: "HMACSHA1"

Return Values

HMAC -  Returns an HMAC implementation based on the algorithm.

Remarks

The default implementation is HMACSHA1 based on the SHA1 hash algorithm.

Valid algorithm names are:

 HMACSHA1
 HMACSHA256
 HMACSHA384
 HMACSHA512
 HMACMD5
 HMACRIPEMD160
 

If a different implementation is desired, then use the standard . naming convention.

See Also

Project CorLib Overview

Class HMACStatic Overview