forked from forgejo/forgejo
[SECURITY] default to pbkdf2 with 320,000 iterations
(cherry picked from commit3ea0b287d7
) (cherry picked from commitdb8392a8ac
) (cherry picked from commitbd2a5fa292
) (cherry picked from commit235a91c4ae
) (cherry picked from commitec12e54182
) (cherry picked from commitd456d25d88
) (cherry picked from commit4a332f73d1
) (cherry picked from commitd59b79a72c
) (cherry picked from commit0ec0e97b3b
) (cherry picked from commit9d51094c53
)
This commit is contained in:
parent
80ac107dc9
commit
3e917a5163
3 changed files with 7 additions and 7 deletions
|
@ -10,7 +10,7 @@ package hash
|
|||
//
|
||||
// It will be dealiased as per aliasAlgorithmNames whereas
|
||||
// defaultEmptyHashAlgorithmSpecification does not undergo dealiasing.
|
||||
const DefaultHashAlgorithmName = "pbkdf2"
|
||||
const DefaultHashAlgorithmName = "pbkdf2_hi"
|
||||
|
||||
var DefaultHashAlgorithm *PasswordHashAlgorithm
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue