Encrypt the POST-GET Data when you Submit a Form: jCryption

Posted on August 9, 2009, under JavaScript 

jCryption is a JavaScript HTML-Form Encryption JQuery Plugin, which encrypts the POST/GET-Data that is sent when a form is submitted. For the calculation it uses the Multiple-precision and Barrett modular reduction libraries and JQuery. The data is encrypted on the client side (JavaScript) and decrypted on the server (PHP).

jcryption

Features include:

  • It is easy to install, use and extend
  • RSA form data encryption up to 2048 bit
  • AjaxSubmit supported
  • no SSL required
  • Does not block the browser on calculations

jCryption first serializes the form, converts the string into hexadecimal values which is required to encrypt it. When the keypair was generated on the server, the script receives it, encrypts the string with the public key and sends it to the sever where the string will be decrypted. When this is done you have your original serialized string back which is equal to a normal form submit (GET or POST).

Comment via Facebook

comments

Leave a Reply


* = required fields

  (will not be published)


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Note: If you want to post CODE Snippets, please make them postable first!
(e.g. <br /> should be converted to &lt;br /&gt;)

POSTING RULES:

  • The comment must be relevant with the topic of the post.
  • Only comments with real email addresses will get approved. So, emails like 'abc@domain.com' will not be accepted.
  • Do not post the same message in multiple articles through the site.
  • Do not post advertisements, junk mail or pyramid schemes.
  • In case you post a link to another site, please explain briefly where the link goes as a courtesy to other users.
  • Do not post comments such as: "Thank you", "Awesome", "Nice tutorial", "Merci", etc.