Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bogpaddle

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bogpaddle

CLI utility for hashing a "secret" string to SHA512 and copying the hash to the clipboard.

  • 1.2.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

bogpaddle

CLI utility for hashing a "secret" string to SHA512 and copying the hash to the clipboard.

Note: all hashes created by this utility are transformed to uppercase, which is NOT the default behavior of Node's crypto hashers.

Installation

Install this utility from NPM:

npm i -g bogpaddle
# or 
yarn global add bogpaddle

Usage

The default usage for bogpaddle is simply typing bogpaddle hash and entering your "password".

$ bogpaddle hash
? Enter the password to hash: [hidden]
Copied to clipboard.

If you'd rather not be prompted for input, you can pass a -p "secret" to bogpaddle. I recommend pulling the secret value from an environment variable to keep it out of your logs and history.

$ bogpaddle hash -p "secret"
Copied to clipboard.

Finally, you can write the hashed value out to your terminal rather than copying to your clipboard.

$ bogpaddle hash -d -p "secret"
BD2B1AAF7EF4F09BE9F52CE2D8D599674D81AA9D6A4421696DC4D93DD0619D682CE56B4D64A9EF097761CED99E0F67265B5F76085E5B0EE7CA4696B2AD6FE2B2

Security

You'll note that I'm using "password" and "secret" in quotes. This is because the SHA512 shouldn't be used to hash passwords. Instead you should be using a true password hasher like bcrypt. I have a specific use for hashing a hidden string to SHA512, thus this utility.

FAQs

Package last updated on 31 Dec 2018

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

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