ZotPublicKey class

Constructors

ZotPublicKey(BigInt e, BigInt on)

Properties

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

Methods

encrypt(String val) String
returns encrypted message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sterilizePublicKey() String
returns base64 public key which can be sent to other user for encryption
toString() String
returns info about public key: the information contains:
override

Operators

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

Static Methods

readBytes(Uint8List bytes) BigInt
internal method to convert Unit8List to BigInt
writeBigInt(BigInt number) Uint8List
internal method to convert BigInt to Unit8List