Nonce class

Constructors

Nonce(Uint32List intList)

Properties

hashCode int
The hash code for this object.
no setterinherited
intList Uint32List
getter/setter pair
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

fromBytes(List<int> bytes) Nonce
takes 12 bytes of the input, which is expected to be a list of bytes, and makes a nonce from it expects the input bytes to be completely random!
fromString(String str) Nonce
Creates a nonce from a string
fromThreeInts(int a, int b, int c) Nonce
Creates a nonce from three random integers.
fromUUID(String uuidStr) Nonce
Hashes the UUID with sha256 and uses parts of the hash to create a nonce