Sponsor:

Your company here, and a link to your site. Click to find out more.

caddy-hash-password - Man Page

Hashes a password and writes base64

Synopsis

caddy hash-password [flags]

Description

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 scrypt, the default parameters are used.

Use the --salt flag for algorithms which require a salt to be provided (scrypt).

Note that scrypt is deprecated. Please use 'bcrypt' instead.

Options

-a, --algorithm="bcrypt" Name of the hash algorithm

-h, --help[=false] help for hash-password

-p, --plaintext="" The plaintext password

-s, --salt="" The password salt

See Also

caddy(8)

History

11-Feb-2024 Auto generated by spf13/cobra

Referenced By

caddy(8).

Feb 2024 Auto generated by spf13/cobra