PrivateKey class

Constructors

PrivateKey(BigInt _privateKey)
Create PrivateKey from BigInt
PrivateKey.fromBytes(Uint8List bytes)
Create PrivateKey from bytes
PrivateKey.fromHex(String hex)
Create PrivateKey from hex
PrivateKey.fromPoint(Point point)

Properties

affinePoint AffinePoint
no setter
hashCode int
The hash code for this object.
no setterinherited
point Point
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bytes() Uint8List
getPublicKey([bool isCompressed = true]) PublicKey
Make public key from priv
getSharedSecret(PublicKey publicKey, [bool isCompressed = true]) Uint8List
Generates Shared Secret
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(Uint8List message, {HmacFnSync? hmacFnSync, RandomBytesFunc? randomBytesFunc, bool? lowS, Uint8List? extraEntropy}) Signature
toString() String
A string representation of this object.
inherited

Operators

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