signer

package
v0.0.0-...-7491e2d Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 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 BccspSigner

type BccspSigner interface {
	crypto.Signer

	// Vrf returns the verifiable random function evaluated m and a proof
	Vrf(msg []byte) (rand, proof []byte, err error)
}

Impl by zig

func New

func New(csp bccsp.BCCSP, key bccsp.Key) (BccspSigner, error)

New returns a new BCCSP-based crypto.Signer for the given BCCSP instance and key.

Jump to

Keyboard shortcuts

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