bcrypt-cli

command module
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 4 Imported by: 0

README

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

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.

Documentation

Overview

Package main implements a command-line interface for bcrypt operations.

Directories

Path Synopsis
Package bcryptio provides minimal wrappers around the bcrypt package to allow for command-line operations such as comparing passwords, checking costs, generating hashes, and generating random passwords with their hashes.
Package bcryptio provides minimal wrappers around the bcrypt package to allow for command-line operations such as comparing passwords, checking costs, generating hashes, and generating random passwords with their hashes.
Package cmd provides command wrappers around the bcryptio package to allow for command-line operations such as comparing passwords, checking costs, generating hashes, and generating random passwords with their hashes.
Package cmd provides command wrappers around the bcryptio package to allow for command-line operations such as comparing passwords, checking costs, generating hashes, and generating random passwords with their hashes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL