Versions in this module Expand all Collapse all v0 v0.1.1 Jan 18, 2024 v0.1.0 Jul 8, 2023 Changes in this version + const PrivateKeySize + var AugSchemeDst = []byte("BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG_") + var GroupOrder = new(big.Int).SetBytes([]byte{ ... }) + var Hidden = []byte + func G1Generator() *bls12381.PointG1 + func Hash256(m []byte) []byte + type AugSchemeMPL struct + func (asm *AugSchemeMPL) Aggregate(signatures ...[]byte) ([]byte, error) + func (asm *AugSchemeMPL) AggregateVerify(pks [][]byte, messages [][]byte, sig []byte) bool + func (asm *AugSchemeMPL) Sign(sk PrivateKey, message []byte) []byte + func (asm *AugSchemeMPL) SignWithPrependPK(sk PrivateKey, prependPK PublicKey, message []byte) []byte + func (asm *AugSchemeMPL) Verify(pk PublicKey, message []byte, sig []byte) bool + type PrivateKey struct + func DeriveChildSk(parentSk PrivateKey, index int) PrivateKey + func DeriveChildSkUnhardened(parentSk PrivateKey, index uint32) PrivateKey + func DerivePathUnhardened(sk PrivateKey, path []uint32) PrivateKey + func KeyFromBytes(keyBytes []byte) PrivateKey + func KeyFromHexString(key string) (PrivateKey, error) + func KeyGen(seed []byte) PrivateKey + func KeyGenWithMnemonic(mnemonic, password string) PrivateKey + func (key PrivateKey) Bytes() []byte + func (key PrivateKey) FarmerSk() PrivateKey + func (key PrivateKey) GetPublicKey() PublicKey + func (key PrivateKey) Hex() string + func (key PrivateKey) LocalSk() PrivateKey + func (key PrivateKey) PoolSk() PrivateKey + func (key PrivateKey) SyntheticSk(hiddenPuzzleHash []byte) PrivateKey + func (key PrivateKey) WalletSk(index int) PrivateKey + type PublicKey struct + func NewPublicKey(data []byte) (PublicKey, error) + func (key PublicKey) Add(pk PublicKey) PublicKey + func (key PublicKey) Bytes() []byte + func (key PublicKey) FingerPrint() string + func (key PublicKey) G1() *bls12381.PointG1 + func (key PublicKey) Hex() string