Skip to content

Commit

Permalink
Fix hash create key
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Sep 24, 2024
1 parent 6cbade5 commit a7ad159
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

0 comments on commit a7ad159

Please sign in to comment.