diff options
Diffstat (limited to 'bcrypt/bcrypt.go')
| -rw-r--r-- | bcrypt/bcrypt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bcrypt/bcrypt.go b/bcrypt/bcrypt.go index dc93118..3e7f8df 100644 --- a/bcrypt/bcrypt.go +++ b/bcrypt/bcrypt.go @@ -50,7 +50,7 @@ func (ih InvalidHashPrefixError) Error() string { type InvalidCostError int func (ic InvalidCostError) Error() string { - return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed range (%d,%d)", int(ic), MinCost, MaxCost) + return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed inclusive range %d..%d", int(ic), MinCost, MaxCost) } const ( |
