encrypt method
returns rsa encrypted base64 string
Implementation
@override
String encrypt(String val, ZotPublicKey? publicKey) {
if (publicKey == null) {
throw Exception("ZotPublicKey can't be null for RSA encryption");
}
return publicKey.encrypt(val);
}