bls_signer

package
v0.0.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatePublicKey

type AggregatePublicKey = blst.P1Aggregate

type AggregateSignature

type AggregateSignature = blst.P2Aggregate

type KeyBLS

type KeyBLS struct {
	PublicKey blst.P1Affine
	SecretKey *blst.SecretKey
}

func NewKeyBLS

func NewKeyBLS() KeyBLS

func (*KeyBLS) Sign

func (k *KeyBLS) Sign(msg []byte) *Signature

func (*KeyBLS) Verify

func (k *KeyBLS) Verify(sig Signature, msg []byte) bool

type PublicKey

type PublicKey = blst.P1Affine

type Signature

type Signature = blst.P2Affine

Jump to

Keyboard shortcuts

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