New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

random-hash-generator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-hash-generator - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

bin/random-hash-generator.js

6

package.json
{
"name": "random-hash-generator",
"version": "1.0.0",
"version": "1.0.1",
"description": "Generates random key-secret pair with sha256 hash, with salt",

@@ -33,3 +33,7 @@ "main": "./lib/index.js",

"randomstring": "^1.1.5"
},
"devDependencies": {
"mocha": "^2.4.5",
"eslint": "^2.2.0"
}
}

20

README.md

@@ -9,16 +9,16 @@ # random-hash-generator

## Usage
'''sh
$ rhg --number 5 --key 10 --secret 15 --salt ShotMeBowmore
```
`$ rhg --number 5 --key 10 --secret 15 --salt ShotMeBowmore`
## Options
```sh
--number, -n: Number of key/secret pairs to generate
--key, -k: Length of key string
--secret, -s: Length of secret string
--salt, -t: Specifying salt string
--help, -h: This message
```
* `--number`, `-n`: Number of key/secret pairs to generate
* `--key`, `-k`: Length of key string
* `--secret`, `-s`: Length of secret string
* `--salt`, `-t`: Specifying salt string
* `--help`, `-h`: This message
## API

@@ -25,0 +25,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc