Engine
Core abstraction for powering a Mac implementation.
Implementors of Engine must initialize the instance with the provided key parameter.
Core abstraction for powering a Mac implementation. Extends Java's MacSpi for compatibility.
Implementors of Engine must initialize the instance with the provided key parameter.
Constructors
Initializes a new Engine with the provided key with the default resetOnDoFinal value of true
(i.e. Engine.reset will be called automatically after Engine.doFinal or Engine.doFinalInto have been invoked).
Initializes a new Engine with the provided key and resetOnDoFinal configuration.
Initializes a new Engine with the provided key with the default resetOnDoFinal value of true
(i.e. Engine.reset will be called automatically after Engine.doFinal or Engine.doFinalInto have been invoked).
Initializes a new Engine with the provided key and resetOnDoFinal configuration.
Initializes a new Engine with the provided key with the default resetOnDoFinal value of true
(i.e. Engine.reset will be called automatically after Engine.doFinal or Engine.doFinalInto have been invoked).
Initializes a new Engine with the provided key and resetOnDoFinal configuration.
Properties
Most Mac.Engine are backed by a Digest
, whereby calling reset after doFinal will cause a double reset (because Digest.digest
does this inherently). By setting this value to false
, Engine.reset will not be called whenever doFinal gets invoked.
Most Mac.Engine are backed by a Digest
, whereby calling reset after doFinal will cause a double reset (because Digest.digest
does this inherently). By setting this value to false
, Engine.reset will not be called whenever doFinal gets invoked.
Most Mac.Engine are backed by a Digest
, whereby calling reset after doFinal will cause a double reset (because Digest.digest
does this inherently). By setting this value to false
, Engine.reset will not be called whenever doFinal gets invoked.
Functions
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.
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.
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.