NewHMACBase
Creates a HMACBase object that can be used as a base implementation of an HMAC class.
Public Function NewHMACBase(
ByVal HashAlgorithm As HashAlgorithm,
ByVal KeySize As Long,
Optional ByRef HashName As String,
Optional ByRef Key As Variant ) As HMACBase
Parameters
- HashAlgorithm
-
[ByVal]
HashAlgorithm.
An instance of an algorithm to be used for Hash Message Authentication Code.
- KeySize
-
[ByVal]
Long.
The size of the key to be used for signing the message.
- HashName
-
[ByRef]
Optional.
String.
The name of the hash being used.
- Key
-
[ByRef]
Optional.
Variant.
The key used to sign the message.
Return Values
HMACBase - A new HMACBase object.
Remarks
This class implements many of the common routines used by HMAC classes.
See Also
Project CorLib Overview
Class Constructors Overview