flutter-rsa
flutter-rsa copied to clipboard
RSA OAEP Label
Hello,
I have noticed two things:
- static Future<String> encryptOAEP(String message, String label, Hash hash, String publicKey) lable must be optional as it is changing the result and becuase in the undelying EncryptOaeprequestObjectBuilder it is optional. I have modified it as otherwise it is not working if no lable in use
- static Future<String> encryptOAEP(String message, String label, Hash hash, String publicKey) can we have the public key as binary instead of parsing it on every operation?
Best regards: V