Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateMembershipKeys ¶
func AggregateMembershipKeys(privs []bls.PrivateKey, pubs []bls.PublicKey, aggPub bls.PublicKey, coefs []big.Int) []bls.Signature
AggregateMembershipKeys prepares private "membership keys" for participating in threshold signature:
MKi = (A1⋅pk1)×H(P, i) + (A2⋅pk2)×H(P, i) + ...
func GenRandomBytes ¶
GenRandomBytes generates byte array with random data
func GenerateRandomKeys ¶
func GenerateRandomKeys(total int) ([]bls.PrivateKey, []bls.PublicKey)
GenerateRandomKeys creates an array of random private and their corresponding public keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.