juanelas

juanelas/object-sha

A package to perform SHA hash functions over key-value objects that works both in Node.js and native JS. It also can be used with typescript projects. It provides a single method `digest()` that first creates an array of the object values ordered by the object keys (order in JS objects is not guaranteed); then, it JSON.stringify it; and finally it hashes it. The output is a string with the hexadecimal representation of the digest. Internally the hash is computed using node crypto (node.js) or subtle crypto (browsers). In order to guarantee native compatibility with browsers, the supported hash algorithms are SHA-1, SHA-256, SHA-384 and SHA-512.

JavaScript
3
0
MIT License
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of juanelas/object-sha

Account's avatar
TypeScript definitions for chai
Account's avatar
TypeScript definitions for mocha
Account's avatar
output coverage reports using Node.js' built in coverage
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
Loads environment variables from .env file
Account's avatar
the most correct and second fastest glob implementation in JavaScript
Account's avatar
JSON for Humans
Account's avatar
a glob matcher in javascript
Account's avatar
simple, flexible, fun test framework
Account's avatar
Properly hijack require, i.e., properly define require hooks and customizations
Account's avatar
A deep deletion module for node (like `rm -rf`)
Account's avatar
A rollup plugin that will bundle up your .d.ts definition files.
Account's avatar
Runtime library for TypeScript helper functions
Account's avatar
Create api documentation for TypeScript projects.
Account's avatar
A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

juanelas's profile
juanelas
45 contributions
dependabot[bot]'s profile
dependabot[bot]
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet