package
2.2.0
Repository: https://github.com/tink-crypto/tink-go.git
Documentation: pkg.go.dev

# Packages

Package subtle provides subtle implementations of the MAC primitive.

# Functions

AESCMACTag128KeyTemplate is a KeyTemplate that generates a AES-CMAC key with the following parameters: - Key size: 32 bytes - Tag size: 16 bytes.
HMACSHA256Tag128KeyTemplate is a KeyTemplate that generates a HMAC key with the following parameters: - Key size: 32 bytes - Tag size: 16 bytes - Hash function: SHA256.
HMACSHA256Tag256KeyTemplate is a KeyTemplate that generates a HMAC key with the following parameters: - Key size: 32 bytes - Tag size: 32 bytes - Hash function: SHA256.
HMACSHA512Tag256KeyTemplate is a KeyTemplate that generates a HMAC key with the following parameters: - Key size: 64 bytes - Tag size: 32 bytes - Hash function: SHA512.
HMACSHA512Tag512KeyTemplate is a KeyTemplate that generates a HMAC key with the following parameters: - Key size: 64 bytes - Tag size: 64 bytes - Hash function: SHA512.
New creates a MAC primitive from the given keyset handle.