Closed perry-mitchell closed 5 years ago
Hi! I would suggest not using argon2-browser in node.js because it's not optimal in terms of performance. Actually the code in test-support is not very robust and it's not suitable to handle different sizes, configurations, etc... In KeeWeb I ended up with something like this, probably if you use another library for node.js, it will be easier.
The above link is dead, is argon2-browser still not recommended? is there any alternative
Sorry to bother again! I've tried copying your argon2 code used in the test-support directory and am getting the following now:
We're only using
kdbxweb
in Node currently, so I suspect we have a number of options for an argon2 implementation. I've also seen that @antelle provides one such project. What should I be doing to allow for argon2 support in a basic Node project, if copying the example code doesn't work?The above issue occurs immediately when calling the also-copied
argon2
method, from the test-support dir.