Documentation
¶
Overview ¶
Package shake provides a thin wrapper around Go's standard library crypto/sha3 SHAKE256 implementation. This exists so go-hqc has zero external dependencies while maintaining a clean internal API boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State wraps a SHAKE256 instance. After Write calls are complete, call Read to squeeze output. Write after Read panics (per SHAKE spec).
func (*State) Read ¶
Read squeezes output from the SHAKE state. It never returns an error; n always equals len(p).
Click to show internal directories.
Click to hide internal directories.