package xof
import "github.com/cloudflare/circl/xof"
Package xof provides an interface for eXtendable-Output Functions.
Available Functions
SHAKE functions are defined in FIPS-202, see https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf. BLAKE2Xb and BLAKE2Xs are defined in https://www.blake2.net/blake2x.pdf.
Index ¶
Types ¶
type ID ¶
type ID uint
func (ID) New ¶
type XOF ¶
type XOF interface { // Write absorbs more data into the XOF's state. It panics if called // after Read. io.Writer // Read reads more output from the XOF. It returns io.EOF if the limit // has been reached. io.Reader // Clone returns a copy of the XOF in its current state. Clone() XOF // Reset restores the XOF to its initial state and discards all data appended by Write. Reset() }
XOF defines the interface to hash functions that support arbitrary-length output.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
xof/k12 | k12 implements the KangarooTwelve XOF. |
- Version
- v1.6.1 (latest)
- Published
- Apr 9, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 2 days ago –
Tools for package owners.