Creates a random salt.
static Future<Uint8List> generateSalt() async { var keyData = await SecretKeyData.random(length: 40).extract(); var ret = Uint8List.fromList(keyData.bytes); return ret; }