antelle / argon2-browser

Argon2 library compiled for browser runtime
https://antelle.net/argon2-browser
MIT License
367 stars 79 forks source link

Native WASM not working in Firefox 55.0.3 #3

Closed tmolitor-stud-tu closed 6 years ago

tmolitor-stud-tu commented 6 years ago

I'm using latest Firefox (version 55.0.3) to test using your demo page (https://antelle.github.io/argon2-browser/) and get the following output, never actually completing. The asm.js method completes in about 80ms and as far as I know native wasm should just work and be faster as asm.js as well. Trying things out in Chrome 60 works as expected.

[00.000] Testing Argon2 using Binaryen native-wasm
[00.011] Loading wasm...
[00.027] Wasm loaded, loading script...
[00.054] trying binaryen method: native-wasm
[00.055] asynchronously preparing wasm
[00.056] binaryen method succeeded.
[00.057] Script loaded in 30ms
[00.058] Calculating hash....
[00.090] Params: pass=password, salt=somesalt, time=1, mem=1024, hashLen=32, parallelism=1, type=0
[00.092] Running...
antelle commented 6 years ago

thanks, fixed

tmolitor-stud-tu commented 6 years ago

thanks for your quick response!!