Discover Packages
github.com/deatil/go-cryptobin
hash
cmac
package
Version:
v1.0.5001
Opens a new window with list of versions in this module.
Published: Dec 11, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
New returns a hash.Hash computing the CMAC checksum.
NewWithTagSize returns a hash.Hash computing the CMAC checksum with the
given tag size. The tag size must between the 1 and the cipher's block size.
Sum computes the CMAC checksum with the given tagsize of msg using the cipher.Block.
Verify computes the CMAC checksum with the given tagsize of msg and compares
it with the given mac. This functions returns true if and only if the given mac
is equal to the computed one.
Source Files
¶
Directories
¶
Package aes implements the CMAC MAC with the AES.
Package aes implements the CMAC MAC with the AES.
Click to show internal directories.
Click to hide internal directories.