Socket
Socket
Sign inDemoInstall

js-sha1

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.7.0

Diff

Changelog

Source

v0.7.0 / 2024-01-24

Added

  • TypeScript interfaces. #6, #9
  • HMAC feature.
  • support for web worker. #14

Fixed

  • deprecated new Buffer, replace with Buffer.from. #10
  • dependencies and security issues.
  • refactor: simplify formatMessage internal logic.
  • Generates incorrect hash in some cases.

Changed

  • remove eval and use require directly. #8
  • throw error by Error oject.
  • throw error if update after finalize
  • use unsigned right shift.
emn178
published 0.6.0 •

Changelog

Source

v0.6.0 / 2017-12-21

Fixed

  • incorrect result when first bit is 1 of bytes.

Changed

  • prevent webpack to require dependencies.
emn178
published 0.5.0 •

Changelog

Source

v0.5.0 / 2017-10-31

Fixed

  • incorrect result when file size >= 512M.
emn178
published 0.4.1 •

Changelog

Source

v0.4.1 / 2016-12-30

Fixed

  • ArrayBuffer dosen't work in Webpack.
emn178
published 0.4.0 •

Changelog

Source

v0.4.0 / 2016-12-05

Added

  • update method.
  • support Array output.
  • support ArrayBuffer output.
  • support AMD.
emn178
published 0.3.0 •

Changelog

Source

v0.3.0 / 2015-03-04

Added

  • support ArrayBuffer input.

Changed

  • improve performance.
emn178
published 0.2.0 •

Changelog

Source

v0.2.0 / 2015-02-16

Added

  • support byte array input.
  • test cases.

Removed

  • ascii parameter.

Changed

  • improve performance.
emn178
published 0.1.3 •

Changelog

Source

v0.1.3 / 2015-01-07

Added

  • bower package.
  • travis.
  • coveralls.

Fixed

  • JSHint warnings.
emn178
published 0.1.2 •

Changelog

Source

v0.1.2 / 2014-07-27

Fixed

  • accents bug.
emn178
published 0.1.1 •

Changelog

Source

v0.1.1 / 2014-01-05

Changed

  • update license.
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc