I don't want to use HTTPS
http://www.vector.safwanmanpower.com/
fill the username and click on any of buttons then click on show button you will get any sequence like 2-4-5-7 in alert box this sequence i've generated using javascript now i want to submit this sequence to save in database that is working but when i send this sequence it will go in plain text i want to encrypt this sequence and then decrypt it on server using php and save as it is 2-4-5-7 in database ?
how can i do this any javascript encryption which can't be consider as weak as javascript code is visible to user ?
so middle man sniffing will be difficult
how can i encrypt using javascript and decrypt it using php and store in db in above example ?
any other solution will help me