Documentation
¶
Overview ¶
Command gogen provides cryptographic key generation and password hashing functionality.
Usage:
# Generate a 32-byte key gogen key # Generate a 64-byte key gogen key -l 64 # Hash a password with default cost (12) gogen hash password # Hash a password with custom cost gogen hash -c 14 password # Run password hashing benchmark gogen hash -b password
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
commands
Package commands provides the command-line interface for the gogen tool.
|
Package commands provides the command-line interface for the gogen tool. |
|
config
Package config defines the configuration structure and validation rules for the gogen tool.
|
Package config defines the configuration structure and validation rules for the gogen tool. |
|
parse
Package parse generates and executes the command-line interface for the application.
|
Package parse generates and executes the command-line interface for the application. |
|
pkg
|
|
|
cobraext
Package cobraext provides extensions to the cobra package.
|
Package cobraext provides extensions to the cobra package. |
|
hash
Package hash provides functionality for secure password hashing and benchmarking using the bcrypt algorithm.
|
Package hash provides functionality for secure password hashing and benchmarking using the bcrypt algorithm. |
|
key
Package key provides functionality for creating and managing cryptographic keys.
|
Package key provides functionality for creating and managing cryptographic keys. |
|
printer
Package printer provides a simple way to print messages to the standard output and standard error streams.
|
Package printer provides a simple way to print messages to the standard output and standard error streams. |
|
stdin
Package stdin provides simple utilities for reading from stdin.
|
Package stdin provides simple utilities for reading from stdin. |
|
validator
Package validator provides a wrapper around go-playground/validator with built-in translation support for validation error messages.
|
Package validator provides a wrapper around go-playground/validator with built-in translation support for validation error messages. |
Click to show internal directories.
Click to hide internal directories.