@aws-crypto/sha1-browser
SHA1 wrapper for browsers that prefers `window.crypto.subtle`.
Last updated 2 years ago by aws-crypto-tools-ci-bot .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @aws-crypto/sha1-browser 
SYNC missed versions from official npm registry.

@aws-crypto/sha1-browser

SHA1 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.

Usage

import {Sha1} from '@aws-crypto/sha1-browser'

const hash = new Sha1();
hash.update('some data');
const result = await hash.digest();

Test

npm test

Current Tags

  • 5.2.0                                ...           latest (2 years ago)

8 Versions

  • 5.2.0                                ...           2 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.2.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |