Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKMAC128 ¶
NewKMAC128 creates a new instance of KMAC128 which providing 128 bits of security using the given key, which must have 16 bytes or more, generating the given tagSize bytes output and using the given domainSeparationCustomizationString. The implementation is based-on sha3.NewCShake128 Note that unlike other hash implementations in the standard library, the returned Hash does not implement encoding.BinaryMarshaler or encoding.BinaryUnmarshaler.
func NewKMAC256 ¶
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.