bls

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregatePubKeys

func AggregatePubKeys(arrayOfPubKeysAsHexWith0x []string) string

func AggregateSignatures

func AggregateSignatures(arrayOfSignaturesAsHex []string) string

func GenerateKeypair

func GenerateKeypair() (string, string)

func GenerateSignature

func GenerateSignature(privateKeyAsHex, message string) string

func VerifySignature

func VerifySignature(pubKeyAsHexWith0x, message, signatureAsHex string) bool

func VerifyThresholdSignature

func VerifyThresholdSignature(aggregatedPubkeyWhoSignAsHexWith0x, aggregatedSignatureAsHex, rootPubAsHexWith0x, message string, afkPubkeys []string, reverseThreshold uint) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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