Skip to content

Commit 4bc09cf

Browse files
committed
BufferSource for salt
1 parent 794fe39 commit 4bc09cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/auth/pbkdf2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function pbkdf2(
3131
return crypto.subtle.deriveBits(
3232
{
3333
name: "PBKDF2",
34-
salt: salt as BufferSource,
34+
salt: salt.buffer as ArrayBuffer,
3535
iterations,
3636
hash: {
3737
name: algo,

0 commit comments

Comments
 (0)