SHA-1 for JavaScript