Mac
Core abstraction for Message Authentication Code implementations.
A MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret (key). Typically, message authentication codes are used between two parties that share a secret (key) in order to validate information transmitted between these parties.
Implementations of Mac should follow the Java naming guidelines for algorithm which can be found at:
https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#mac-algorithms
See also
Core abstraction for Message Authentication Code implementations. Extends Java's javax.crypto.Mac for compatibility.
A MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret (key). Typically, message authentication codes are used between two parties that share a secret (key) in order to validate information transmitted between these parties.
Implementations of Mac should follow the Java naming guidelines for algorithm which can be found at:
https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#mac-algorithms
See also
Throws
if algorithm is blank
Core abstraction for Message Authentication Code implementations.
A MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret (key). Typically, message authentication codes are used between two parties that share a secret (key) in order to validate information transmitted between these parties.
Implementations of Mac should follow the Java naming guidelines for algorithm which can be found at:
https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#mac-algorithms
See also
Throws
if algorithm is blank
Constructors
Types
Core abstraction for powering a Mac implementation.
Core abstraction for powering a Mac implementation.
Functions
Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Mac is reset afterward.
Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Mac is reset afterward.
Completes the computation, performing final operations and placing the resultant bytes into the provided dest array starting at index destOffset. The Mac is reset afterward.
Resets the Mac and will reinitialize it with the provided key.