package
0.3.10
Repository: https://github.com/prysmaticlabs/go-ethereum.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AggregateSignatures converts a list of signatures into a single, aggregated sig.
ComputeDomain returns the domain version for BLS private key to sign and verify with a zeroed 4-byte array as the fork version.
Domain returns the bls domain given by the domain type and the operation 4 byte fork version.
HashWithDomain hashes 32 byte message and uint64 domain parameters a Fp2 element.
NewAggregatePubkey creates a blank public key.
NewAggregateSignature creates a blank aggregate signature.
PublicKeyFromBytes creates a BLS public key from a BigEndian byte slice.
RandKey creates a new private key using a random method provided as an io.Reader.
SecretKeyFromBytes creates a BLS private key from a BigEndian byte slice.
SignatureFromBytes creates a BLS signature from a LittleEndian byte slice.

# Constants

CurveOrder for the BLS12-381 curve.
DomainByteLength length of domain byte array.
ForkVersionByteLength length of fork version byte array.

# Structs

PublicKey used in the BLS signature scheme.
SecretKey used in the BLS signature scheme.
Signature used in the BLS signature scheme.