Returns HMAC state to the state initialized with key
to make it possible to run HMAC over the other data with the same
key without creating a new instance.
Returns this
restoreState
restoreState(savedState): this
Parameters
savedState: any
Returns this
saveState
saveState(): any
Saves HMAC state.
This function is needed for PBKDF2 optimization.
HMAC implements hash-based message authentication algorithm.