- output
- the output buffer
- outOffset
- the offset in the output buffer
Type Reason Javax.Crypto.ShortBufferException if the specified output buffer is either too small for the digest to be stored, the specified output buffer is null, or the specified offset is negative or past the length of the output buffer. Java.Lang.IllegalStateException if this MAC is not initialized.
Computes the digest of this MAC based on the data previously specified in Mac.Update(sbyte) calls and stores the digest in the specified output buffer at offset outOffset.
This Mac instance is reverted to its initial state and can be used to start the next MAC computation with the same parameters or initialized with different parameters.