PrivateKey class

Class representing EdDSA Baby Jub private key

Constructors

PrivateKey(Uint8List buf)
Create a PrivateKey from a 32 byte Buffer @param {Uint8List} buf - private key

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sk Uint8List
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
public() PublicKey
Retrieve PublicKey of the PrivateKey @returns {PublicKey} PublicKey derived from PrivateKey
sign(BigInt messageHash) String
toString() String
A string representation of this object.
inherited

Operators

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