File: extlib/jQuery-MD5/README.md

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Jam Rules   extlib/jQuery-MD5/README.md   Download  
File: extlib/jQuery-MD5/README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Jam Rules
Match objects against a list of rules
Author: By
Last change: Update of extlib/jQuery-MD5/README.md
Date: 2 years ago
Size: 1,119 bytes
 

Contents

Class file image Download

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