A JavaScript implementation of the SHA-1