Total Pageviews

Tuesday 6 March 2018

jsSHA

About

jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS PUB 180-4 and FIPS PUB 202 (SHA-1, SHA-224, SHA3-224, SHA-256, SHA3-256, SHA-384, SHA3-384, SHA-512, SHA3-512, SHAKE128, and SHAKE256) as well as HMAC as defined in FIPS PUB 198-1. jsSHA is also 100% cross-browser compatible and works with Node.js.

Newest Release / Download

As of 10 June 2017, the newest release is v2.3.1 and can be found at GitHub.

Demo

Be aware that if JavaScript is disabled in your browser there is the possibility that information entered into the below fields may be transmitted to the GitHub web servers. Ensure that JavaScript is enabled to prevent this possibility.

from https://caligatio.github.io/jsSHA/
下载地址:https://github.com/Caligatio/jsSHA/releases/tag/v2.3.1
------------

jsSHA

A pure JavaScript streaming implementation of the complete Secure Hash Standard family (SHA-1, SHA-224, SHA3-224, SHA-256, SHA3-256, SHA-384, SHA3-384, SHA-512, SHA3-512, SHAKE128, and SHAKE256) as well as HMAC.
Build Status

Usage

Installation

Browser

Include the desired JavaScript file (sha.js, sha1.js, sha256.js, sha512.js, or sha3.js) in your header (sha.js used below):
<script type="text/javascript" src="/path/to/sha.js"></script>

Node.js

jsSHA is available through NPM and be installed by simply doing
npm install jssha
To use the module, first require it using:
jsSHA = require("jssha");

from https://github.com/Caligatio/jsSHA

 

No comments:

Post a Comment