npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n-multi-hashing

v1.0.8

Published

A re-write of the Node Multi Hashing library, which provides Javascript bindings for C/C++ based hashing algorithms.

Downloads

22

Readme

N-Multi-Hashing

Build Status npm

A rewrite of node-multi-hashing in Typescript, more algorithms, and proper unit testing. This version should be much more stable, as full coverage unit testing, will ensure consistency of hashing functions, warning developers of any breaking changes. This version will also include more algorithms, and will continue to add them as development continues.

Inspiration

When I first got into crypto development, I forked node-multi-hashing and added a few algorithms, but admittedly was still novice in terms of development. I have gained much more experience, and decided to re-write (not algorithms) my past work, and added features I have found to be valuable (such as unit testing).

Requirements

While these are not all hard requirements, I have listed what I used to develop/build this project to give more guidance.

| Requirement | Version | |--------------|----------| | Unix OS | Ubuntu* | | NodeJS | ~12.x.x | | yarn | 1.21.1 | | gcc | ~9.x.x | | node-gyp | ^8.1.0 |

* Can be anything

Getting Started

A simple usage example to get you started. Note, that not all algorithms contain the same parameters.

import multiHashing from 'n-multi-hashing';

const hash = multiHashing.x16r(Buffer.from('ffff0000', 'hex'));

How To Build

Install Dependencies

yarn

Building Binaries

yarn build:binaries

Building Distribution

yarn build

Testing

Building Debug Binaries

yarn build:debug

Run Jest

yarn jest

Contributions

Anyone is free to fork/clone this project and use at their own will. Though if you would like help develop this project, I have listed some things to note in order for your PR to be accepted.

  • When creating a PR, be descriptive about your changes, and keep your code clean and maintainable.
  • If adding algorithms, please include associated unit-tests.
  • Ensure your changes pass the CI/CD pipeline (check the Actions tab).

Attributions

Want to say thank you

All I ask is you like and/or contribute to the project! :sparkling_heart:

Want to help out more

I don't need anything else, but if you would like, buy me some :coffee: maybe:

BTC: bc1qmqwa6jvus9kr3nusexvuewt0h75jj5qwka8a2u
ETH: 0x5BcEcC9710a3Aa47F84BaCb1E5EE6591dEa7a32e
RVN: RBfEoddXbXDR8fLLyCcvy5FUgdvpdof5f3

Supported Algorithms

| Unit Test | Algorithms | Unit Test | Algorithms | Unit Test | Algorithms | |--------------------|-----------------------|--------------------|------------------|--------------------|----------------| | :white_check_mark: | Argon2d | :white_check_mark: | Lyra2RE | :white_check_mark: | X15 | | :white_check_mark: | Argon2i | :white_check_mark: | Lyra2REv2 | :white_check_mark: | X16r | | :white_check_mark: | Argon2id | :white_check_mark: | Lyra2REv3 | :white_check_mark: | X16rV2 | | :white_check_mark: | Bcrypt | :white_check_mark: | Lyra2z | :white_check_mark: | Yescrypt | | :white_check_mark: | Blake | :white_check_mark: | NeoScrypt | | | | :white_check_mark: | boolberry | :white_check_mark: | NIST5 | | | | :white_check_mark: | C11 | :white_check_mark: | Quark | | | | :white_check_mark: | CryptoNight | :white_check_mark: | Qubit | | | | :white_check_mark: | CryptoNight Fast | :white_check_mark: | Scrypt | | | | :white_check_mark: | Fresh | :white_check_mark: | ScryptJane | | | | :white_check_mark: | Fugue | :white_check_mark: | ScryptN | | | | :white_check_mark: | Groestl | :white_check_mark: | SHA1 | | | | :white_check_mark: | Groestl Myriad | :white_check_mark: | SHA256d | | | | :white_check_mark: | Hefty1 | :white_check_mark: | Shavite3 | | | | :white_check_mark: | KAWPOW | :white_check_mark: | Skein | | | | :white_check_mark: | Keccak | :white_check_mark: | X11 | | | | :white_check_mark: | LBRY | :white_check_mark: | X13 | | |