vrf

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(publicKey []byte, proof Proof, message []byte) (bool, error)

Types

type Output

type Output []byte

func ProofToHash

func ProofToHash(proof Proof) (Output, error)

func (Output) ToInt

func (op Output) ToInt() *big.Int

type Proof

type Proof []byte

func Prove

func Prove(privateKey []byte, message []byte) (Proof, error)

Directories

Path Synopsis
internal
vrf

Jump to

Keyboard shortcuts

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