hashtypes

package
v0.0.0-...-4af87b5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher struct {
	hash.Hash // the underlying hasher
	// contains filtered or unexported fields
}

Wrapper types for hasher which additionally provides a max value

func Keccak

func Keccak() Hasher

Create a Keccak hasher

func MiMC

func MiMC() Hasher

Create a new MiMC hasher

func (Hasher) MaxBytes32

func (h Hasher) MaxBytes32() Bytes32

Immutable accessor for the max value of the hasher

Jump to

Keyboard shortcuts

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