MethodEncryptDecrypt constructor
MethodEncryptDecrypt({})
minHashes and maxHashes sets the random number of possible hashes
saltBase64 is used as a cipher when encrypting the method value
ivBase64 is an initialization vector used in encryption
random allows you to change the seed used in the randomness or share
it with other objects.
Implementation
MethodEncryptDecrypt({
required this.minHashes,
required this.maxHashes,
required this.saltBase64,
required this.ivBase64,
Random? random,
}) : _random = random ?? Random.secure();