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
Instead of promises can we use the async await syntax with argon2-browser?
async await
The text was updated successfully, but these errors were encountered:
Hi! Indeed you can, it's a normal promise, without any hacks.
Sorry, something went wrong.
(async function() { const hash = await argon2.hash({ pass: 'p@ssw0rd', salt: 'somesalt' }); console.log(hash.encoded); })();
No branches or pull requests
Instead of promises can we use the
async await
syntax with argon2-browser?The text was updated successfully, but these errors were encountered: