HMACBase |
Name | Description |
---|---|
Hash (get) | Returns the computed hash. |
HashName (get) | Returns the name of the hash algorithm used. |
HashName (let) | Sets the name of the hash algorithm used. |
Name | Description |
---|---|
Clear | Releases any resources and marks the object as disposed. |
ComputeHash | Computes the hash code for the specific source. |
GetKey | Returns the current key used by the hash. |
Initialize | Resets an instance to begin computing a hash from the begining. |
SetKey | Sets the key the hash will use. |
TransformBlock | Processes a block of data towards the computed hash. |
TransformFinalBlock | Processes the final block of data, generating the computed hash. |
This base implementation manages many of the aspects utilized with HMAC implementations. Usually, any class that implements the HashAlgorithm interface can easily be used to provide HMAC capabilities by simply initializing an instance of HMACBase with an instance of the hash object.
The HMAC set of classes provided in VBCorLib utilize the HMACBase class to provide consistent HMAC operations.