Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TBLSInst ¶
type TBLSInst struct {
// contains filtered or unexported fields
}
TBLSInst an instance of a BLS-based (t, len(members))-threshold signature scheme It is capable of creating signature shares with its (single) private key share, and validating/recovering signatures involving all group members.
func TBLS12381Keygen ¶
TBLS12381Keygen constructs a set TBLSInst for a given set of member nodes and threshold T with nByz byzantine nodes, using the BLS12-381 pairing, with signatures being points on curve G1, and keys points on curve G2.
func (*TBLSInst) Recover ¶
Recover recovers a full signature from a set of (previously validated) shares, that are known to be from distinct nodes.
func (*TBLSInst) VerifyFull ¶
VerifyFull verifies that a (full) signature is valid for a given message.