Use raw ArrayBuffer instead of Uint8Array for PRF salt input

This commit is contained in:
2026-05-29 08:35:19 +02:00
parent 1001bafab7
commit abfaf3e99c
+2 -2
View File
@@ -73,7 +73,7 @@ export async function registerUser(username: string): Promise<RegistrationResult
}
options.extensions.prf = {
eval: {
first: PRF_SALT
first: PRF_SALT.buffer
}
}
@@ -180,7 +180,7 @@ export async function loginUser(username?: string): Promise<LoginResult> {
}
options.extensions.prf = {
eval: {
first: PRF_SALT
first: PRF_SALT.buffer
}
}