encrypt method
Encrypts message in my way (combines _aes and _rsa)
Returns RSAEncryptedIV:AESEncryptedMessage
Implementation
String encrypt(String message) {
return _rsa.encrypt(_aes.initVector.base64) +
":" +
base64Encode(
utf8.encode(
_aes.encrypt(
base64Encode(
utf8.encode(
message,
),
),
),
),
);
}