.TH "CADDY-HASH-PASSWORD" "1" "September 2021" .SH NAME .HP caddy-hash-password \- Hashes a password and writes base64 .SH SYNOPSIS .HP caddy hash-password [--algorithm ] [--salt ] [--plaintext ] .SH DESCRIPTION .PP Convenient way to hash a plaintext password. The resulting hash is written to stdout as a base64 string. --plaintext, when omitted, will be read from stdin. If Caddy is attached to a controlling tty, the plaintext will not be echoed. --algorithm may be bcrypt or scrypt. If script, the default parameters are used. Use the --salt flag for algorithms which require a salt to be provided (scrypt). .SH OPTIONS .HP \fB--algorithm\fR .RS Name of the hash algorithm .RE .HP \fB--plaintext\fR .RS The plaintext password .RE .HP \fB--salt\fR .RS The password salt .RE .SH SEE ALSO .PP \fBcaddy-adapt\fR(1), \fBcaddy-caddy\fR(1), \fBcaddy-environ\fR(1), \fBcaddy-file-server\fR(1), \fBcaddy-fmt\fR(1), \fBcaddy-help\fR(1), \fBcaddy-list-modules\fR(1), \fBcaddy-man\fR(1), \fBcaddy-reload\fR(1), \fBcaddy-reverse-proxy\fR(1), \fBcaddy-run\fR(1), \fBcaddy-start\fR(1), \fBcaddy-stop\fR(1), \fBcaddy-trust\fR(1), \fBcaddy-untrust\fR(1), \fBcaddy-validate\fR(1), \fBcaddy-version\fR(1), \fBcaddy\fR(1) .SH DOCUMENTATION .HP Full documentation is available at: https://caddyserver.com/docs/ .SH VERSION .HP 2.4.5-1 .SH BUGS .HP Report Bugs to: https://github.com/caddyserver/caddy .SH COPYRIGHT .HP (c) Matthew Holt and The Caddy Authors