Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2><a href="https://en.wikipedia.org/wiki/Base64" rel="nofollow">BASE64</a></h2> <p>If you want some basic encryption that can be also decrypted then you should use plugin for <strong><code>BASE64</code></strong> encryption/decryption.</p> <p>This plugin can be found as a part of <strong><a href="http://www.jquerysdk.com/docs/Main_Page" rel="nofollow">jQuerySDK</a></strong> and if you want to find out more take a look at this <a href="http://www.jquerysdk.com/api/jQuery.toBASE64" rel="nofollow"><strong>link</strong></a>. </p> <p><strong>Usage:</strong></p> <pre><code>$.toBASE64({ foo: 'bar' }); $.toBASE64(['foo', 'bar']); $.toBASE64(12345); $.toBASE64('Lorem ipsum'); </code></pre> <h2><a href="https://en.wikipedia.org/wiki/Md5" rel="nofollow">MD5</a>, <a href="https://en.wikipedia.org/wiki/SHA1" rel="nofollow">SHA1</a>, <a href="https://en.wikipedia.org/wiki/XTEA" rel="nofollow">XTEA</a></h2> <p><strong><code>MD5</code></strong> and <strong><code>SHA1</code></strong> are of course much much more secure then <strong><code>BASE64</code></strong>. Unfortunately they are used only for encoding. Instead of them you can use <strong><code>XTEA</code></strong>. It works on a same principle like <strong><code>BASE64</code></strong> but unlike <strong><code>BASE64</code></strong> you can use a key to encrypt/decrypt your string.</p> <p>If you want to find out more go to this <strong><a href="http://www.itsyndicate.ca/jquery/" rel="nofollow">link</a></strong>.</p> <p><strong>Usage:</strong></p> <pre><code>//md5: $().crypt({method:"md5",source:$("#phrase").val()}); //sha1: $().crypt({method:"sha1",source:$("#phrase").val()}); //xtea $().crypt({method:"xteab64enc",source:$("#phrase").val(),keyPass:$("#passPhrase").val()}); $().crypt({method:"xteab64dec",source:xteab64,keyPass:$("#passPhrase").val()}); </code></pre> <h2>EDIT :</h2> <p>Regarding your first comment if you read my answer you would find tha BASE64 and XTEA are used to encrypt/decrypt your string. If you want to look past jQuery then there are only 2 relevant possibilities: Crypto-js and Stanford Crypto Library. They are best javascript can provide and difference is just like difference between Coke and Pepsi. At the end what will you use will depend on what are really going to encrypt/decrypt. For everything that is not passwords go with easy solutions like BASE64 or XTEA. For passwords go with Crypto-js orStanford Crypto Library.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload