Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

angularjs-sha512

bushee15MIT1.0.0TypeScript support: included

This is a simple SHA-512, SHA-384, SHA-512/224, SHA-512/256 hash functions for AngularJs supports UTF-8 encoding.

sha, sha2, sha384, sha512, sha512/224, sha512/256, hash, encryption, cryptography, HMAC

readme

js-sha512

Build Status NPM
A simple SHA-512, SHA-384, SHA-512/224, SHA-512/256 hash functions for AngularJS supports UTF-8 encoding.

Installation

npm install js-sha512

Usage

You could use like this:

    // TODO

License

The project is released under the MIT license.

Contact

The project's original website is located at https://github.com/emn178/js-sha512
Author: Chen, Yi-Cyuan (emn178@gmail.com)

Angular version is located at https://github.com/bushee/angularjs-sha512 Author: Krzysztof "Bushee" Nowaczyk (bushee01@gmail.com)

changelog

Change Log

v0.7.1 / 2017-12-21

Fixed

  • incorrect result when first bit is 1 of bytes.

v0.7.0 / 2017-11-19

Added

  • support HMAC. #8

v0.6.0 / 2017-10-31

Fixed

  • incorrect result when file size >= 512M.

v0.5.0 / 2017-10-07

Added

  • support for web worker. #5

Changed

  • throw error if input type is incorrect.

v0.4.0 / 2017-07-08

Added

  • Streaming support(update).
  • support for ArrayBuffer input/output.
  • support for byte array input/output.

v0.3.0 / 2017-01-23

Added

  • AMD support.

Fixed

  • ArrayBuffer dosen't work in Webpack.

v0.2.2 / 2015-02-09

Improved

  • performance.

v0.2.1 / 2015-02-08

Added

  • test cases.

Removed

  • ascii parameter.

Improved

  • performance.

v0.2.0 / 2015-02-02

Added

  • test cases.

Improved

  • performance.

v0.1.3 / 2015-01-26

Added

  • test cases.

Improved

  • performance.

v0.1.2 / 2015-01-07

Added

  • bower package.
  • travis.
  • coveralls.

Fixed

  • JSHint warnings.

v0.1.1 / 2014-07-27

Fixed

  • accents bug.

v0.1.0 / 2014-01-05

Added

  • initial release.