kmac

package
v0.0.0-...-789814e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKMAC256

func NewKMAC256(key []byte, outputLen int, domainSeparationCustomizationString []byte) hash.Hash

NewKMAC256 creates a new instance of KMAC256 which providing 256 bits of security using the given key, which must have 32 bytes or more, generating the given tagSize bytes output and using the given domainSeparationCustomizationString. The implementation is based-on sha3.NewCShake256 Note that unlike other hash implementations in the standard library, the returned Hash does not implement encoding.BinaryMarshaler or encoding.BinaryUnmarshaler.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL