uphash
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i uphash

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

15.5 kB

Total Files

8

Last publish

Collaborators

  • 3axap4ehko