@digitalbazaar/minimal-digest
v2.2.0
Published
> A minimal hash/digest JS library for Node.js and the browser.
Readme
Minimal Digest (@digitalbazaar/minimal-digest)
A minimal hash/digest JS library for Node.js and the browser.
Table of Contents
Background
TBD
Security
TBD
Install
This software requires and supports maintained recent versions of Node.js and browsers. Updates may remove support for older unmaintained platform versions. Please use dependency version lock files and testing to ensure compatibility with this software.
NPM
To install via NPM:
- https://www.npmjs.com/package/@digitalbazaar/minimal-digest
npm install @digitalbazaar/minimal-digestDevelopment
To install locally (for development):
git clone https://github.com/digitalbazaar/minimal-digest.git
cd minimal-digest
npm installUsage
import {digestMultibase} from '@digitalbazaar/minimal-digest';
const data = {key: 'value'};
// defaults to sha-256 hash, 'urdca2015' canonicalization for objects,
// base58btc encoding
const result = await digestMultibase({data, documentLoader});Contribute
See the contribute file!
PRs accepted.
If editing the Readme, please conform to the standard-readme specification.
Commercial Support
Commercial support for this library is available upon request from Digital Bazaar: [email protected]
License
New BSD License (3-clause) © Digital Bazaar
