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
And I get error: Uncaught (in promise) Decryption error. The ciphertext is encrypted with the public key using PKCS#1 v1.5 padding. To test this out for yourself, here are the public/private keys and the hex encoded cipher text (which is the encrypted string hey!):
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChfTv2d4ghAmu21WpJApJkAzZ+
8JISS7eEFq7AHVuwn1e2UKMiGKLV+T3oVe0hHcrHq6sGJmATm8sXicRBRZ5WvgMp
T3CkDfLQoBxFfW+/3WVGAdCoAq0XH2dwhHmnXlguqaq24NprBscOSz3BnQEWgGAR
nANFhx6ad7xhkgptyQIDAQAB
-----END PUBLIC KEY-----
I have written code in Go to decrypt it and it seems to be working. Any ideas on what could be the problem? I'm not too knowledgeable on RSA encryption so there could be something I'm missing 🤷♀️
The text was updated successfully, but these errors were encountered:
Here is the code that I am using:
And I get
error: Uncaught (in promise) Decryption error
. The ciphertext is encrypted with the public key using PKCS#1 v1.5 padding. To test this out for yourself, here are the public/private keys and the hex encoded cipher text (which is the encrypted stringhey!
):Private key
Public key
Hex encoded ciphertext
I have written code in Go to decrypt it and it seems to be working. Any ideas on what could be the problem? I'm not too knowledgeable on RSA encryption so there could be something I'm missing 🤷♀️
The text was updated successfully, but these errors were encountered: