Discover Packages
github.com/deatil/go-cryptobin
hash
cmac
package
Version:
v1.0.2030
Opens a new window with list of versions in this module.
Published: Oct 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
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.