npm.io
0.0.1 • Published 2 years ago

uphash

Licence
MIT
Version
0.0.1
Deps
1
Size
15 kB
Vulns
0
Weekly
0

UpHash

UpHash provides a flexible and extensible way to create cryptographic hashes from various types of data. It allows custom serialization of the input and supports multiple hashing algorithms. Supports Browser and NodeJS.

Coverage Status Github Build Status NPM version Downloads Snyk

Platform Support

NodeJS Chrome Firefox Safari Opera Edge
Latest Latest Latest Latest Latest Latest

Installing

Using pnpm:

pnpm add uphash

Using yarn:

yarn add uphash

Using npm:

npm install uphash

Usage

import { createHash } from 'uphash';

const hash = createHash({ algorithm: 'SHA-256' });
const hashValue = await hash({ foo: 'bar' });

License

License Apache-2.0 Copyright (c) 2023-present Ivan Zakharchanka