Skip to content

JavaScript MD5 plugin, usable as part of the jQuery library or standalone

Notifications You must be signed in to change notification settings

fish-yu/jQuery-MD5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

JavaScript MD5 plugin, usable as part of the jQuery library or standalone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published