Skip to content

Commit

Permalink
Fix hash create key (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey authored Sep 24, 2024
1 parent 6cbade5 commit b8f0c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/passwordSeal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createKey(password: string, salt: Buffer): Promise<Uint8Array> {
const opts: PBKDF2Options = {
iterations: OWASP_ITERATIONS,
keyLength: KEY_SIZE_BYTES,
hash: 'SHA-256',
hash: 'sha256',
}
return pbkdf2(password, salt, opts)
}
Expand Down

2 comments on commit b8f0c7e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for experimental massa-web3

St.❔
Category Percentage Covered / Total
🟑 Statements 63.46% 1134/1787
πŸ”΄ Branches 43.91% 191/435
πŸ”΄ Functions 46.76% 209/447
🟑 Lines 63.76% 1128/1769

Test suite run success

129 tests passing in 13 suites.

Report generated by πŸ§ͺjest coverage report action from b8f0c7e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for experimental massa-web3

St.❔
Category Percentage Covered / Total
🟑 Statements 63.46% 1134/1787
πŸ”΄ Branches 43.91% 191/435
πŸ”΄ Functions 46.76% 209/447
🟑 Lines 63.76% 1128/1769

Test suite run success

129 tests passing in 13 suites.

Report generated by πŸ§ͺjest coverage report action from b8f0c7e

Please sign in to comment.