doFinalInto
Called to complete the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Engine is reset afterward.
Implementations should override this addition to the API for performance reasons. If overridden, super.doFinalInto
should not be called.
NOTE: The public Mac.doFinalInto function always checks dest for capacity of macLength, starting at destOffset, before calling this function.
Parameters
The array to place resultant bytes
The index to begin placing bytes into dest
Called to complete the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Engine is reset afterward.
Implementations should override this addition to the API for performance reasons. If overridden, super.doFinalInto
should not be called.
NOTE: The public Mac.doFinalInto function always checks dest for capacity of macLength, starting at destOffset, before calling this function.
Parameters
The array to place resultant bytes
The index to begin placing bytes into dest
Called to complete the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Engine is reset afterward.
Implementations should override this addition to the API for performance reasons. If overridden, super.doFinalInto
should not be called.
NOTE: The public Mac.doFinalInto function always checks dest for capacity of macLength, starting at destOffset, before calling this function.
Parameters
The array to place resultant bytes
The index to begin placing bytes into dest