CoreMPL class abstract

An instance of CoreMPL.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aggregatePubKeys(List<G1Element> pks) G1Element
Aggregate list of G1Element.
aggregateSigs(List<G2Element> sigs) G2Element
Aggregate list of G2Element.
aggregateVerify(List<G1Element> pks, List<Uint8List> msgs, G2Element sig) bool
Verify the aggregated signature sig for a list of messages msgs with list of public keys pks.
deriveChildPkUnhardened(G1Element g1, int index) G1Element
Get a g1's child.
deriveChildSk(PrivateKey privateKey, int index) PrivateKey
Get a privateKey's child.
deriveChildSkUnhardened(PrivateKey privateKey, int index) PrivateKey
Get a privateKey's child.
keyGen(Uint8List seed) PrivateKey
Create a PrivateKey instance from seed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(PrivateKey privateKey, Uint8List msg) G2Element
Sign a msg using a privateKey.
skToG1(PrivateKey privateKey) G1Element
Convert PrivateKey into G1Element.
toString() String
A string representation of this object.
inherited
verify(G1Element g1Element, Uint8List msg, G2Element sig) bool
Verify a sig for a msg using g1Element as public key.

Operators

operator ==(Object other) bool
The equality operator.
inherited