in reply to Re: RSA encrypt but no decrypt. What is the problem? (updated)
in thread RSA encrypt but no decrypt. What is the problem?
Yes, thanks, I have checked, your code works for me, but it is not convenient for me. In your code, encryption and decryption is done within a single script. In practice, this is not convenient. I would like one script to encrypt the message and another script to decrypt the message. In this case, it is not possible to use Crypt :: OpenSSL :: RSA-> generate_key (1024); in both scripts. The best option is to use the parameters n, e, and d.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RSA encrypt but no decrypt. What is the problem?
by haukex (Archbishop) on May 08, 2021 at 17:54 UTC | |
by Forb (Novice) on May 08, 2021 at 19:08 UTC | |
by haukex (Archbishop) on May 08, 2021 at 20:19 UTC |