Skip to content

Commit

Permalink
chore: publish dist
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 20, 2023
1 parent f99840a commit a5cbaff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function encrypt(value, key) {
exports.encrypt = encrypt;
// https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
const hashing_iterations = 210000;
const hashing_key_length = 10;
const hashing_key_length = 5;
function hash(value, salt) {
return crypto_1.default
.pbkdf2Sync(value, salt, hashing_iterations, hashing_key_length, "sha512")
Expand Down

0 comments on commit a5cbaff

Please sign in to comment.