Skip to content

Instantly share code, notes, and snippets.

View default-work's full-sized avatar
🚩
work in progress

default-work

🚩
work in progress
View GitHub Profile
@romeoh
romeoh / sha1.js
Created August 9, 2012 08:15
sha1.js
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS PUB 180-1
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*