npm

randcrypt

0.1.1 • Public • Published

RANDCRYPT

randcrypt is command line tool that can generate a cryptic strong random string and copy it to clipboard. Can be useful for creating an identifier, slug, salt, PIN code, fixture, etc. It is a wrapper around clipboardy and crypto-random-string packages.

Support

Buy me a coffe at:

BuyMeACoffee

Saweria

Installation

To use it in terminal, we install it globally:

npm install -g randcrypt # or using yarn: yarn global add randcrypt

Usage

To use randcrypt we must supply with minimally one argument ie length, optionallly type argument:

rc [length] [type]

for example: rc 32 base64.

Here are the possible types that we can use:

  • hex,
  • base64,
  • url-safe,
  • numeric,
  • distinguishable,
  • ascii-printable,
  • alphanumeric.

For simple help about randcrypt, run randcrypt without any arguments:

rc

Package Sidebar

Install

npm i randcrypt

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

2.74 kB

Total Files

3

Last publish

Collaborators

  • cipto