We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7aa0c commit aa23a5eCopy full SHA for aa23a5e
bcrypt/bcrypt.go
@@ -21,7 +21,7 @@ import (
21
const (
22
MinCost int = 4 // the minimum allowable cost as passed in to GenerateFromPassword
23
MaxCost int = 31 // the maximum allowable cost as passed in to GenerateFromPassword
24
- DefaultCost int = 10 // the cost that will actually be set if a cost below MinCost is passed into GenerateFromPassword
+ DefaultCost int = 12 // the cost that will actually be set if a cost below MinCost is passed into GenerateFromPassword
25
)
26
27
// The error returned from CompareHashAndPassword when a password and hash do
0 commit comments