This jQuery plugin implements the SHA-1 cryptographic hash function.
The source code is currently hosted in TiddlyWiki's Subversion repository.
Feedback is welcome.
$.encoding.digests.hexSha1Str(str)
: Return, in hex, the SHA-1 hash of a string
$.encoding.digests.sha1Str(str)
: Return the SHA-1 hash of a string
$.encoding.digests.sha1(x,blen)
: Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words
(full documentation in the code comments)