Credit card number and password encoder / decoder
How does it work?
- Open our web app in a different browser tab
- Enter number to encode / decode in box, on the web page in question
- Select Encrypt / Decrypt
- Email the encoded number (it should start with e) to your contact Your contact use the same form, enters the encoded number, select Encrypt / Decrypt, and then the original number is immediately retrieved.
This code is very simple, it is by no means strong encryption. It is indeed less sophisticated than uuencode. But uuencode is for geeks, while our app is easy to use by any mainstream people. The encoded value is also a text string, easy to copy and paste in any email client. The encoded value has some randomness,
in the sense that encoding twice the same values will result in two different encoded values. Finally, it is more secure than it seems at first glance, if you don't tell anyone (except over the phone) where the decoder can be found. I will create a version that accepts parameters, to make it even more secure.
function encrypt2() <
if (form.encrypt.checked) <
if ((string.charCodeAt(i)!=101)&&(len>0)) <
for (var i=0; i<len; i++) <