包详细信息

@aws-crypto/sha1-browser

aws35mApache-2.05.2.0

SHA1 wrapper for browsers that prefers window.crypto.subtle.

自述文件

@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

更新日志

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

5.2.0 (2023-10-16)

Features

  • support ESM artifacts in all packages (#752) (e930ffb)

5.1.0 (2023-09-22)

Bug Fixes

Features

5.0.0 (2023-07-13)

  • feat!: drop support for IE 11 (#629) (6c49fb6), closes #629

BREAKING CHANGES

  • Remove support for IE11

Co-authored-by: texastony 5892063+texastony@users.noreply.github.com

4.0.0 (2023-02-20)

Note: Version bump only for package @aws-crypto/sha1-browser

3.0.0 (2023-01-12)

  • feat!: replace Hash implementations with Checksum interface (#492) (da43dc0), closes #492

BREAKING CHANGES

  • All classes that implemented Hash now implement Checksum.

2.0.2 (2022-09-07)

Bug Fixes

2.0.0 (2021-10-25)

Note: Version bump only for package @aws-crypto/sha1-browser

1.2.0 (2021-09-17)

Bug Fixes

  • Adding ie11-detection dependency to sha1-browser (#213) (138750d)

Features