We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e2ed03 commit b49002bCopy full SHA for b49002b
bcrypt/bcrypt.go
@@ -50,7 +50,7 @@ func (ih InvalidHashPrefixError) Error() string {
50
type InvalidCostError int
51
52
func (ic InvalidCostError) Error() string {
53
- 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)
54
}
55
56
const (
0 commit comments