Dec 2, 2020
Hi Capitoli, please try using another npm package such as “argon2”
You might need to update the code at your end for hashing and verifying but should be simple:
to hash:
const argon2 = require('argon2');try {const hash = await argon2.hash("password");} catch (err) {//...}
to verify:
try {if (await argon2.verify("<big long hash>", "password")) {// password match} else {// password did not match}} catch (err) {// internal failure}
Unfortunately I am not running in a Windows to try to reproduce your issue but I hope this other package to do the work!
best regards,