bls

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BLS_ACTIVE = true

Variables

This section is empty.

Functions

func FastAggregateVerify added in v0.10.1

func FastAggregateVerify(pubkeys []*CachedPubkey, message [32]byte, signature BLSSignature) bool

func Verify added in v0.10.1

func Verify(pubkey *CachedPubkey, message [32]byte, signature BLSSignature) bool

Types

type BLSPubkey added in v0.12.1

type BLSPubkey [48]byte

type BLSSignature added in v0.12.1

type BLSSignature [96]byte

type CachedPubkey added in v0.12.1

type CachedPubkey struct {
	Compressed BLSPubkey
	// contains filtered or unexported fields
}

func (*CachedPubkey) Pubkey added in v0.12.1

func (c *CachedPubkey) Pubkey() (*hbls.PublicKey, error)

Jump to

Keyboard shortcuts

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