grouphash

package
v0.0.0-...-95aab37 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPoint = fmt.Errorf("invalid point")
)

Functions

This section is empty.

Types

type GroupHasher

type GroupHasher struct {
	// contains filtered or unexported fields
}

func NewGroupHasher

func NewGroupHasher(domain []byte) (*GroupHasher, error)

func (*GroupHasher) FindGroupHash

func (hasher *GroupHasher) FindGroupHash(msg []byte) (*jubjub.JubjubPoint, error)

func (*GroupHasher) Hash

func (hasher *GroupHasher) Hash(msg []byte) (*jubjub.JubjubPoint, error)

Jump to

Keyboard shortcuts

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