A simple SHA1 hash function for JavaScript supports UTF-8 encoding.
shasha1encryptioncryptographyHMAC
https://github.com/emn178/js-sha1.git