We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async function argon2(password){ try{ return await a2.hash(password.normalize("NFD"), { type: a2.argon2id, //hybrid memoryCost: 2 ** 16, //64MB per thread hashLength: 32, timeCost:10, parallelism:4, saltLength:32, raw: false }); }catch(err){ return null; } }
output has always 16 bytes random salt:
$argon2id$v=19$m=65536,t=10,p=4$oJZM5QTIRFsTy7tJgcrDHQ$JUtK3qlr7MmQZ54dSiPJhxJtux+u7W+DTZ3pvblyGzE
it however gives the correct output if i input {salt:randomValuesHere} in the object.
I would like to understand:
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
async function argon2(password){ try{ return await a2.hash(password.normalize("NFD"), { type: a2.argon2id, //hybrid memoryCost: 2 ** 16, //64MB per thread hashLength: 32, timeCost:10, parallelism:4, saltLength:32, raw: false }); }catch(err){ return null; } }
output has always 16 bytes random salt:
$argon2id$v=19$m=65536,t=10,p=4$oJZM5QTIRFsTy7tJgcrDHQ$JUtK3qlr7MmQZ54dSiPJhxJtux+u7W+DTZ3pvblyGzE
it however gives the correct output if i input {salt:randomValuesHere} in the object.
I would like to understand:
Thanks
The text was updated successfully, but these errors were encountered: