Documentation
¶
Overview ¶
Package blst implements a go-wrapper around a library implementing the the BLS12-381 curve and signature scheme. This package exposes a public API for verifying and aggregating BLS signatures used by Ethereum 2.0.
This implementation uses the library written by Supranational, blst.
Only linux_amd64 is supported at the moment.
Index ¶
- func AggregateSignatures(_ []iface.Signature) iface.Signature
- func NewAggregateSignature() iface.Signature
- func RandKey() iface.SecretKey
- func VerifyCompressed(_, _, _ []byte) bool
- func VerifyMultipleSignatures(_ [][]byte, _ [][32]byte, _ []iface.PublicKey) (bool, error)
- type PublicKey
- type SecretKey
- type Signature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateSignatures ¶
AggregateSignatures -- stub
func NewAggregateSignature ¶
NewAggregateSignature -- stub
Types ¶
type PublicKey ¶
type PublicKey struct{}
PublicKey -- stub
func AggregatePublicKeys ¶
AggregatePublicKeys -- stub
func PublicKeyFromBytes ¶
PublicKeyFromBytes -- stub
type SecretKey ¶
type SecretKey struct{}
SecretKey -- stub
func SecretKeyFromBytes ¶
SecretKeyFromBytes -- stub
type Signature ¶
type Signature struct{}
Signature -- stub
func SignatureFromBytes ¶
SignatureFromBytes -- stub
func (Signature) AggregateVerify ¶
AggregateVerify -- stub
func (Signature) FastAggregateVerify ¶
FastAggregateVerify -- stub
Click to show internal directories.
Click to hide internal directories.