Enable JS buddy or nothing here gonna work

Client side Encrypting and posting data using JavaScript

Each data post uses a random js generated and hashed password
that gets inserted into a position in one of the encrypted data values.
When data is retrieved password is extracted and data decrypted.
You can add as many inputs as you like. This example uses all textareas as fields
for use with element by tagname you can use just inputs as well for simplicity.

On submit we get all form data using element by tagname.
We loop thru the form data, trim, encode with random hashed password.
In the loop we insert the password in one of the encoded elements.
This can be done anywhere in the data string. Then when we decrypt
the password is extracted reversing the insertion and data decoded with the password.

Enter data and submit then click alert box to view results.





DFA home