bls

package
v0.0.0-...-2ae2f20 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubKey

type PubKey interface {
	Marshal() []byte
	Copy() PubKey
	Equals(p2 PubKey) bool
}

type SecretKey

type SecretKey interface {
	PublicKey() PubKey
	Sign(msg []byte) Signature
	Marshal() []byte
}

SecretKey represents a BLS secret or private key.

type Signature

type Signature interface {
	Verify(pubKey PubKey, msg []byte) bool
	Marshal() []byte
	Copy() Signature
}

Signature represents a BLS signature.

Directories

Path Synopsis
Package blst implements a go-wrapper around a library implementing the BLS12-381 curve and signature scheme.
Package blst implements a go-wrapper around a library implementing the BLS12-381 curve and signature scheme.

Jump to

Keyboard shortcuts

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