encryptString static method
Implementation
static String encryptString(String plainText) {
final encrypter = Encrypter(AES(Key.fromUtf8(_key), mode: AESMode.cbc));
final encrypted = encrypter.encrypt(plainText, iv: IV.fromUtf8(_iv));
return encrypted.base64;
}