encryptValue static method
Implementation
static String encryptValue(String value, String encryptionKey,
{String? ivBase64}) {
var aesEncrypter = Encrypter(AES(Key.fromBase64(encryptionKey)));
var encryptedValue = aesEncrypter.encrypt(value, iv: getIV(ivBase64));
return encryptedValue.base64;
}