Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

SHA1 hash algorithm function


Average rating
(1 vote)

Calculates the sha1 hash of str using the US Secure Hash Algorithm 1.

SHA-1 the Secure Hash Algorithm (SHA) was developed by NIST and is specified in the Secure Hash Standard (SHS, FIPS 180).

This script is used to process variable length message into a fixed-length output using the SHA-1 algorithm. It is fully compatible with UTF-8 encoding.

If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag).

$.sha1("I'm Persian."); // return "1d302f9dc925d62fc859055999d2052e274513ed"

Releases

Official releasesDateSizeLinksStatus
1.0.02008-Sep-025.02 KBRecommended for 1.2.xThis is currently the recommended release for 1.2.x.