Trying to decrypt RSA Ciphertext with a private key using OpenSSl
Used rsatool to generate a .pem file for private key which is 1022 bit long.
Converted the original cyphertext 1023 bits long from just numbers to hex values of bytes
I have used the command: openssl pkeyutl -decrypt -in C:\Users\abc\Desktop\Cypher.txt -out C:\Users\abc\Desktop\result.txt -inkey C:\Users\abc\Desktop\key.pem
But received an error of: Public Key operation error 804C0000:error:0200006C:rsa routines:rsa_ossl_private_decrypt:data greater than mod len:crypto\rsa\rsa_ossl.c:406:
How can we solve this problem to get the plaintext?