File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/caddyhttp/caddyauth Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import (
3232func init () {
3333 caddycmd .RegisterCommand (caddycmd.Command {
3434 Name : "hash-password" ,
35- Usage : "[--plaintext <password>] [--algorithm <name>] [--cost <difficulty>]" ,
35+ Usage : "[--plaintext <password>] [--algorithm <name>] [--bcrypt- cost <difficulty>]" ,
3636 Short : "Hashes a password and writes base64" ,
3737 Long : `
3838Convenient way to hash a plaintext password. The resulting
@@ -44,7 +44,7 @@ not be echoed.
4444
4545--algorithm currently only supports 'bcrypt', and is the default.
4646
47- --cost sets the bcrypt hashing difficulty.
47+ --bcrypt- cost sets the bcrypt hashing difficulty.
4848Higher values increase security by making the hash computation slower and more CPU-intensive.
4949If the provided cost is not within the valid range [bcrypt.MinCost, bcrypt.MaxCost],
5050the default value (defaultBcryptCost) will be used instead.
You can’t perform that action at this time.
0 commit comments