-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
in: cryptoAn issue in spring-security-cryptoAn issue in spring-security-cryptostatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
I propose to increase the default strength for some password encoders.
The BCrypt encoder currently uses 10 as default strength, with which it only takes ~80ms to encode a password (on my Early 2015 MacBook Pro). I think the default should be increased to (at least) 12.
The Argon2 encoder only needs ~40ms, so its defaults should be increased too.
The SCrypt encoder needs ~80ms with its default parameters.
Metadata
Metadata
Assignees
Labels
in: cryptoAn issue in spring-security-cryptoAn issue in spring-security-cryptostatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement