decrypt static method
Implementation
static String decrypt(key, input) {
try {
return Encrypter(AES(Key.fromBase64(key)))
.decrypt(Encrypted.from64(input), iv: _iv);
} catch (e) {
return input;
}
}
static String decrypt(key, input) {
try {
return Encrypter(AES(Key.fromBase64(key)))
.decrypt(Encrypted.from64(input), iv: _iv);
} catch (e) {
return input;
}
}