Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @string-hashing/sha2

npm

npm install @string-hashing/sha2 --save

jspm

jspm install npm:@string-hashing/sha2

Usage

Import the library where needed

const sha2 = await import('@string-hashing/sha2');
// or
import * as sha2 from '@string-hashing/sha2';

Examples

More examples in the test files.