Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 237 Bytes

File metadata and controls

18 lines (11 loc) · 237 Bytes

crypto-sha256-js

A pure JS implementation SHA256.

Usage

import {Sha256} from '@aws-crypto/crypto-sha256-js';

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

Test

npm test