A pure js SHA1 implementation created for js-git.