Documentation
¶
Index ¶
- func AggregateCompressedSignatures(multiSigs [][]byte) (common.Signature, error)
- func AggregateMultiplePubkeys(pubkeys []common.PublicKey) common.PublicKey
- func AggregatePublicKeys(pubs [][]byte) (common.PublicKey, error)
- func AggregateSignatures(sigs []common.Signature) common.Signature
- func MultipleSignaturesFromBytes(multiSigs [][]byte) ([]common.Signature, error)
- func NewAggregateSignature() common.Signature
- func PublicKeyFromBytes(pubKey []byte) (common.PublicKey, error)
- func RandKey() (common.SecretKey, error)
- func SecretKeyFromBytes(seed []byte) (common.SecretKey, error)
- func SignatureFromBytes(sig []byte) (common.Signature, error)
- func UnaggregatedSignatures(sigs []common.Signature) []byte
- func VerifyMultipleSignatures(sigs [][]byte, msgs [][32]byte, pubKeys [][]common.PublicKey) (bool, error)
- func VerifySignature(sig []byte, msg [32]byte, pubKey common.PublicKey) (bool, error)
- type PublicKey
- type Signature
- func (s *Signature) AggregateVerify(pubKeys []common.PublicKey, msgs [][32]byte) bool
- func (s *Signature) Copy() common.Signature
- func (s *Signature) Eth2FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (s *Signature) FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (s *Signature) Marshal() []byte
- func (s *Signature) Verify(pubKey common.PublicKey, msg []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAggregateSignature ¶
func UnaggregatedSignatures ¶
Types ¶
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func (*PublicKey) IsInfinite ¶
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
Signature used in the BLS signature scheme.
func (*Signature) AggregateVerify ¶
func (*Signature) Eth2FastAggregateVerify ¶
func (*Signature) FastAggregateVerify ¶
Click to show internal directories.
Click to hide internal directories.