You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

hashgen

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashgen

Command line utility for generating simple random hashes.

1.0.0
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
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

random

FAQs

Package last updated on 17 Jan 2016

Did you know?

Socket

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