Jeffrey Friedl’s Blog » SHA-1 and HMAC-SHA1 Routines in Pure Lua
http://regex.info/blog/lua/sha1
"I've coded up SHA-1 Secure Hash computation and HMAC-SHA1 secure signature computation in pure Lua and thought I'd share them in case anyone else would find them useful."
Paj's Home: Cryptography: JavaScript MD5: sha1.js
http://pajhome.org.uk/crypt/md5/sha1src.html
"A JavaScript implementation of the Secure Hash Algorithm, SHA-1"