I have some ciphered text c
:
25891321569730591340908100200084238908526220639262493280132434760408339201
And a public key modulus n
:
26968512395163253601932973308752915431751775641665954651069702885890373293
And exponent e
:
65537
All of them are in the integer format. I also have the private key in the same format (integer). How can I decrypt the ciphered text then? Do I need to convert to the OpenSSL .pem format? If yes, then how can I do that?
I tried decrypting through OpenSSL, I got this error:
error:0406506C:rsa routines:RSA_EAY_PRIVATE_DECRYPT:data greater than mod len
I have also tried searching on this website and I got this link. When I tried that I got the following error:
0:d=0 hl=2 l= 50 prim: appl [ 27 ]
Error in encoding
894:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:
Can anyone help?