Answer the question
In order to leave comments, you need to log in
Need an RSA function to encrypt data from a form on your site?
Noob question, but do not judge strictly, I'm just learning. Let's say there is a site like an online store written in html php manually, it has a form for filling in the customer's data (full name, delivery address, phone number, etc.), these data are entered into the appropriate table in the database. The task was to implement an RSA-based function that would encrypt data before sending it to the database and decrypt it when displayed in the admin panel. That is, already encrypted data should be stored in the database. I rummaged through Google did not find anything sensible (maybe I'm stupid). Ideally, you need a specific code example, with explanations for dummies.
Thank you.
Answer the question
In order to leave comments, you need to log in
In a Javascript browser, see https://github.com/travist/jsencrypt
On a server, see your backend.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question