Documentation
¶
Overview ¶
Command gogen provides cryptographic key generation, password generation and hashing functionality.
Usage:
# Generate a 32-byte key gogen key # Generate a 64-byte key gogen key -l 64 # Generate a password gogen password # 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
|
|
|
argon
Package argon provides functionality for secure password hashing using Argon2id.
|
Package argon provides functionality for secure password hashing using Argon2id. |
|
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. |
|
pw
Package pw provides secure password generation functionality using a diverse set of characters including lowercase, uppercase, numbers, and special characters.
|
Package pw provides secure password generation functionality using a diverse set of characters including lowercase, uppercase, numbers, and special characters. |
|
stdin
Package stdin provides simple utilities for reading from stdin.
|
Package stdin provides simple utilities for reading from stdin. |
|
uid
Package uid provides methods for generating unique identifiers.
|
Package uid provides methods for generating unique identifiers. |
|
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.