Crypto class

Constructors

Crypto()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decrypt(List<int> key, List<int> box) Future<List<int>>
deriveKey(List<int> mySK, List<int> otherSidePK) Future<List<int>>
derivePK(List<int> secretKey) List<int>
digest(List<int> blob) Future<List<int>>
encrypt(List<int> key, List<int> blob) Future<List<int>>
genSK() Future<List<int>>
randBytes(int n) Future<Uint8List>
randKey() Future<List<int>>
sign(List<int> sk, List<int> data) Future<List<int>>
verify(Uint8List data, List<int> signature, List<int> pk) Future<bool>