package
1.7.0
Repository: https://github.com/google/tink.git
Documentation: pkg.go.dev

# Packages

Package subtle provides an implementation of PRFs like AES-CMAC.

# Functions

AESCMACPRFKeyTemplate is a KeyTemplate that generates a AES-CMAC key with the following parameters: - Key size: 32 bytes.
HKDFSHA256PRFKeyTemplate is a KeyTemplate that generates an HKDF key with the following parameters: - Key size: 32 bytes - Salt: empty - Hash function: SHA256.
HMACSHA256PRFKeyTemplate is a KeyTemplate that generates an HMAC key with the following parameters: - Key size: 32 bytes - Hash function: SHA256.
HMACSHA512PRFKeyTemplate is a KeyTemplate that generates an HMAC key with the following parameters: - Key size: 64 bytes - Hash function: SHA512.
NewPRFSet creates a prf.Set primitive from the given keyset handle.
NewPRFSetWithKeyManager creates a prf.Set primitive from the given keyset handle and a custom key manager.

# Structs

Set is a set of PRFs.

# Interfaces

The PRF interface is an abstraction for an element of a pseudo random function family, selected by a key.