fromUUID static method
Hashes the UUID with sha256 and uses parts of the hash to create a nonce
Implementation
static Nonce fromUUID(String uuidStr) {
return Nonce.fromBytes(sha256
.convert(utf8.encode(String.fromCharCodes(Uuid.parse(uuidStr))))
.bytes);
}