Skip to content

Latest commit

 

History

History
 
 

sha256-universal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@aws-crypto/crypto-sha256-universal

A consistent interface for SHA256 across browsers and NodeJs

Usage

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

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

Test

npm test