Answer the question
In order to leave comments, you need to log in
What data encryption method to use on the client (javascript)?
Task:
To make on the client (javascript) encryption of the data that the user enters for their subsequent transfer to the server for storage (in encrypted form).
Accordingly, when a user logs in, the encrypted data is downloaded from the server and decrypted on the client.
Tell me, what encryption method or algorithm is better to apply to solve the problem?
Answer the question
In order to leave comments, you need to log in
UPD: a more Orthodox way has been proposed. ATTENTION: all security principles are violated in the above example in order to simplify the scheme to the utmost.
A more Orthodox way, on the advice of Andrew :
What do you want to achieve? Protecting transmitted data? Then it's better to use https.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question