bls377

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 32

BlockSize size that mimc consumes

Variables

This section is empty.

Functions

func NewMiMC

func NewMiMC(seed string) hash.Hash

NewMiMC returns a MiMCImpl object, pure-go reference implementation

func Sum

func Sum(seed string, msg []byte) []byte

Sum computes the mimc hash of msg from seed

Types

type Params

type Params []fr.Element

Params constants for the mimc hash function

func NewParams

func NewParams(seed string) Params

NewParams creates new mimc object

Jump to

Keyboard shortcuts

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