Awesome Open Source
Awesome Open Source

jquery-hash

jQuery plugin to return a hash for a string using SHA 1/256/384/512 and the web crypto api

demo: https://angeal185.github.io/jquery-hash

Installation

npm

$ npm install jquery-hash --save

browser

<script src="./path-to/jquery.min.js"></script>
<script src="./dist/jq-hash.min.js"></script>

info

// demo

/**
* $.hash(str, digest, enc, cb)
* @param {string} str ~ string to be hashed
* @param {string} digest ~ 1/256/384/512
* @param {string} enc ~ hex/base64/Uint8
* @param {function} cb ~ callback
*/

$.hash('hello world!', '512', 'hex',function(i){
 console.log(i)
});

Alternatives To Jquery Hash
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Plugin (113,994
String (42,486
Web (37,378
Jquery (26,471
Hash (11,363
Crypto (10,619
Hex (4,512
Sha (3,338
Base64 (1,486
Sha256 (830
Sha1 (723
Sha512 (139
Sha384 (55
Webcrypto (52
Webcryptoapi (14