PopSchemeMPL class
An instance of PopSchemeMPL.
Constructors
- PopSchemeMPL()
- Create an instance of PopSchemeMPL.
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.
inherited
-
aggregateSigs(
List< G2Element> sigs) → G2Element -
Aggregate list of G2Element.
inherited
-
aggregateVerify(
List< G1Element> pks, List<Uint8List> msgs, G2Element sig) → bool -
Verify the aggregated signature
sig
for a list of messagesmsgs
with list of public keyspks
.inherited -
deriveChildPkUnhardened(
G1Element g1, int index) → G1Element -
Get a
g1
's child.inherited -
deriveChildSk(
PrivateKey privateKey, int index) → PrivateKey -
Get a
privateKey
's child.inherited -
deriveChildSkUnhardened(
PrivateKey privateKey, int index) → PrivateKey -
Get a
privateKey
's child.inherited -
fastAggregateVerify(
List< G1Element> pks, Uint8List msg, G2Element sig) → bool - Fast verification.
-
free(
) → void - Release a PopSchemeMPL instance from memory.
-
keyGen(
Uint8List seed) → PrivateKey -
Create a PrivateKey instance from
seed
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popProve(
PrivateKey privateKey) → G2Element -
Prove using
privateKey
. -
popVerify(
G1Element g1Element, G2Element sig) → bool -
Verifies
sig
using proof of possesion. -
sign(
PrivateKey privateKey, Uint8List msg) → G2Element -
Sign a
msg
using aprivateKey
.inherited -
skToG1(
PrivateKey privateKey) → G1Element -
Convert PrivateKey into G1Element.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
G1Element g1Element, Uint8List msg, G2Element sig) → bool -
Verify a
sig
for amsg
usingg1Element
as public key.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited