Skip to content

adamvduke/bcrypt-cli

Repository files navigation

bcrypt-cli

Wraps golang.org/x/crypto/bcrypt in a cli

Go Reference

Install

Download

  • Download an archive that matches your platform from the releases page.
  • Extract the archive.
  • On Mac OS, remove the quarantine attribute to avoid Gatekeeper preventing the application from running.
    • xattr -dr com.apple.quarantine bcrypt-cli
  • Move the bcrypt-cli file to a directory on your $PATH.

Build From Source

  • Make sure you have Go installed.
  • go install github.com/adamvduke/bcrypt-cli@v0.0.10

Usage

$ bcrypt-cli --help
Wraps golang.org/x/crypto/bcrypt in a cli

A simple CLI for hashing and comparing passwords using bcrypt.

Usage:
  bcrypt-cli [command]

Available Commands:
  compare     Compare a previously hashed password to a plain text password
  cost        Use bcrypt to hash a password
  generate    Output a random password and its bcrypt hash
  hash        Use bcrypt to hash a password
  help        Help about any command
  version     Print the version number of bcrypt-cli

Flags:
  -h, --help      help for bcrypt-cli
  -v, --version   version for bcrypt-cli

Use "bcrypt-cli [command] --help" for more information about a command.

About

Wraps golang.org/x/crypto/bcrypt in a cli

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages