hash

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExpandANotImplemented = errors.New("hash: ExpandA not implemented")

ErrExpandANotImplemented indicates ExpandA still needs full implementation.

Functions

func ExpandA

func ExpandA(rho []byte) ([][]byte, error)

ExpandA will expand the matrix seed ρ into the public matrix A once the polynomial sampler is wired.

func NewCShake128

func NewCShake128(fn, customization []byte) sha3.ShakeHash

NewCShake128 returns a cSHAKE128 XOF with the supplied function name and customization strings.

func NewCShake256

func NewCShake256(fn, customization []byte) sha3.ShakeHash

NewCShake256 returns a cSHAKE256 XOF with the supplied function name and customization strings.

func SumShake128

func SumShake128(out []byte, data ...[]byte)

SumShake128 writes len(out) bytes of SHAKE128 output over the concatenation of data.

func SumShake256

func SumShake256(out []byte, data ...[]byte)

SumShake256 writes len(out) bytes of SHAKE256 output over the concatenation of data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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