Hi experts,
Here is a question about public key and private key for RSA.
My employer has an e-commerce website that has credit card processing system. This system has two parts. The first part is front-end, online part that enables clients to pay money online synchronously. The second part is back-end that runs as a cron job. This cron job runs every 15 minutes to check if a client's balance is less than a pre-set value. If it is, then the cron job (back-end credit card system) runs to charge.
The credit card system uses RSA to encript and decrypt. Both the front-end and back-end shares with the same public key. And the back-end keeps the private key.
My supervisor requests me to write a Python version to replace the back-end Java code to do the same work. After researching on it, I am afraid that there will be an incompatibility issue as Python script can not read serialized Java objects (we do not want any Jython or JVM to run on the server). After I told my worries, my supervisor told me to retrieve modules in the public key so that Python can use to create new public and private keys.
As I never worked on projects in credit card and encryption/decryption fields before, I wonder if I can get some ideas from experts in these fields. What I want to know is -
Does my supervisor's suggestion make sense?
Thanks so much.
ASKER
Please give suggestions... Thanks!