SHA1 wrapper for browsers that prefers `window.crypto.subtle`.
npm install @aws-crypto/sha1-browserSHA1 wrapper for browsers that prefers window.crypto.subtle.
SHA1 is NOT a cryptographically secure algorithm.
It should _only_ be used for non cryptographic functions like checksums.
``
import {Sha1} from '@aws-crypto/sha1-browser'
const hash = new Sha1();
hash.update('some data');
const result = await hash.digest();
`
npm test`