package
Version:
v0.0.0-...-4a97a7c
Opens a new window with list of versions in this module.
Published: Dec 3, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrInvalidSizebuffer = errors.New("the size of the input should match the size of the hash buffer")
)
Hash stores the buffer of the poseidon2 permutation and provides poseidon2 permutation
methods on the buffer
NewHash returns a new hash instance allowing to apply the poseidon2 permutation
Permutation applies the permutation on input, and stores the result in input.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.