package
1.2.2
Repository: https://github.com/mightyguava/tink.git
Documentation: pkg.go.dev

# Functions

GetPrimitive creates a Mac primitive from the given keyset handle.
GetPrimitiveWithCustomerManager creates a Mac primitive from the given keyset handle and a custom key manager.
HmacSha256Tag128KeyTemplate is a KeyTemplate for HmacKey with the following parameters: - Key size: 32 bytes - Tag size: 16 bytes - Hash function: SHA256.
HmacSha256Tag256KeyTemplate is a KeyTemplate for HmacKey with the following parameters: - Key size: 32 bytes - Tag size: 32 bytes - Hash function: SHA256.
NewHmacKey returns a new HmacKey.
NewHmacKeyFormat returns a new HmacKeyFormat.
NewHmacKeyManager returns a new HmacKeyManager.
NewHmacParams returns a new HmacParams.
RegisterKeyManager registers the given keyManager for the key type given in keyManager.KeyType().
RegisterStandardKeyTypes registers standard Mac key types and their managers with the Registry.

# Constants

HmacKeyVersion is the maxmimal version of keys that this key manager supports.
HmacTypeURL is the only type URL that this manager supports.

# Structs

HmacKeyManager generates new HmacKeys and produces new instances of Hmac.