You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var keys = await RSA.generate(2048);
_ourPrivateKey = keys.privateKey;
_ourPublicKey = keys.publicKey;
// Application 1
var enc = await RSA.encryptOAEP(message, "yes", Hash.SHA256, _ourPublicKey);
// at this point the message has arrived on Application 2
var dec = await RSA.decryptOAEP(message, "yes", Hash.SHA256, _ourPrivateKey);
But it throws RSAException - Illegal base64 letter at input byte 4
The public keys being negotiated between the applications are correct
The text was updated successfully, but these errors were encountered:
What i want to do is pretty simple
But it throws RSAException - Illegal base64 letter at input byte 4
The public keys being negotiated between the applications are correct
The text was updated successfully, but these errors were encountered: