Socket
Socket
Sign inDemoInstall

hashgen

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hashgen

Command line utility for generating simple random hashes.


Version published
Weekly downloads
1
Maintainers
1
Install size
55.8 kB
Created
Weekly downloads
 

Readme

Source

Hashgen - simple random hash CLI

Sometimes you just need a command-line utility that generates random hashes to standard out. Hashgen does exactly that.

Installation

Install via npm, globally since it's a command-line utility.

npm install -g hashgen

Usage

Run hashgen without arguments to generate a single, 30-character random hash.

hashgen

# tg9hjyGdUSISfcqK4aqIfmeEiWl7kU

Arguments

Hashgen takes a few arguments that let you customise the output. Mostly these are options for random-id the module hashgen uses to generate hashes:

  • -c, --count Number of random hashes to generate, one per line.
  • -l, --length Number of characters to include in each hash
  • -p, --pattern Generate hashes from only the characters included in this arg

Keywords

FAQs

Last updated on 17 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc