Documentation
¶
Overview ¶
Package ascon_hash implements the Ascon-Hash, Ascon-Hasha, Ascon-Xof and Asxon-Xofa, as specified in Section 2.5 of https://ascon.iaik.tugraz.at/files/asconv12-nist.pdf.
Index ¶
Constants ¶
View Source
const ( // The blocksize of Ascon-Hash in bytes. BlockSize = 8 // The hash size of Ascon-Hash in bytes. Size = 32 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Xof ¶
type Xof interface { // Write absorbs more data into the hash's state. It panics if called // after Read. io.Writer // Read squuezes more data from the hash. io.Reader // Reset resets the XOF to its initial state. Reset() }
Xof defines the interface to hash functions that support arbitrary-length output.
Click to show internal directories.
Click to hide internal directories.