PrivateKey class

An instance of PrivateKey.

Annotations

Constructors

PrivateKey.aggregate(List<PrivateKey> pks)
Aggregate list of PrivateKey to create new PrivateKey instance.
factory
PrivateKey.fromBytes({required Uint8List data, bool modOrder = false})
Create a PrivateKey instance from data.
factory

Properties

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

Methods

free() → void
Release a PrivateKey instance from memory.
g1Element() G1Element
Get a G1Element from this instance.
g2Element() G2Element
Get a G2Element from this instance.
hexString() String
Hex representation of PrivateKey instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Uint8List
Serialize a PrivateKey instance into list of bytes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override
operator ^(G2Element g2) G2Element
Calculate power of g2.