flutter-rsa icon indicating copy to clipboard operation
flutter-rsa copied to clipboard

RSA OAEP Label

Open letisoft opened this issue 9 months ago • 0 comments

Hello,

I have noticed two things:

  1. 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
  2. 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

letisoft avatar Mar 18 '25 13:03 letisoft