I do not want to use https
http://www.vector.safwanmanpower.com/
enter the username and click any of the buttons, then click the show button you will get any sequence, such as 2-4-5-7 in the notification field, in this sequence that I created using javascript now I want to send this sequence to save to a database that works, but when I send this sequence, it will take place in plain text. I want to encrypt this sequence and then decrypt it on the server using php and save since it is 2-4-5-7 in the database?
how can I do this any javascript encryption that cannot be considered weak, like javascript code is visible to the user?
therefore the average person sniffing will be difficult
how can i encrypt using javascript and decrypt it using php and save in db in the above example?
any other solution will help me
source share