vrfEss

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

* @author PalletOne core developers <dev@pallet.one> * @date 2018

* @author PalletOne core developers <dev@pallet.one> * @date 2018

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate

func Evaluate(pri *ecdsa.PrivateKey, msg []byte) (proof []byte, err error)

func VerifyWithPK

func VerifyWithPK(sign []byte, msg interface{}, publicKey []byte) bool

Types

type Ess

type Ess struct {
}

func (*Ess) VrfProve

func (e *Ess) VrfProve(priKey interface{}, msg []byte) (proof, selData []byte, err error)

func (*Ess) VrfVerify

func (e *Ess) VrfVerify(pk, msg, proof []byte) (bool, []byte, error)

Jump to

Keyboard shortcuts

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