Skip to content
New issue

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

Edge support #36

Closed
Alex----- opened this issue Nov 16, 2019 · 1 comment
Closed

Edge support #36

Alex----- opened this issue Nov 16, 2019 · 1 comment

Comments

@Alex-----
Copy link

Edge does not support the import() function used in lib/argon2.js. Also, https://antelle.net/argon2-browser/ does not work in Edge because TextEncoder is not defined.

@antelle
Copy link
Owner

antelle commented Nov 17, 2019

Hi! I've fixed the demo in Edge.
Most likely you won't load the file like this in production, so import should be used only for making a demo / prototype. You can export loadArgon2WasmModule function to load the file properly in Edge.
For TextEncoder/Decoder, you will need a polyfill, which should be bundled separately indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants