44344a21b2
bzr revid: fme@openerp.com-20111025083648-x5nd1mv7z7nee7cl |
||
---|---|---|
.. | ||
tests | ||
README.md | ||
README.txt | ||
jquery.md5.js |
README.md
jQuery MD5 Plugin
Usage
Create (hex-encoded) MD5 hash of a given string value:
var md5 = $.md5('value');
Create (hex-encoded) HMAC-MD5 hash of a given string value and key:
var md5 = $.md5('value', 'key');
Create raw MD5 hash of a given string value:
var md5 = $.md5('value', null, true);
Create raw HMAC-MD5 hash of a given string value and key:
var md5 = $.md5('value', 'key', true);
Requirements
None.
If jQuery is not available, the md5 function will be added to the global object:
var md5 = md5('value');
License
Released under the MIT license.
Source Code & Download
- Browse and checkout the source code.
- Download the project to add the plugin to your website.