Closed malmod closed 2 years ago
Hi! What did you pass as pass
and salt
?
Thanks a lot @antelle, despite using TS the pass
was a null Uint8Array
.
The tests are now fine but I still have problems building it but that's a different issue, anyway I'll try to fix it.
I tried to call
argon2.hash
with:and get the following error:
I'm using esm modules
import argon2 from "argon2-browser";
and TypeScript. Is it a packaging configuration error?The line which seemingly causes the error is: