Cannot get WASM to work?


I wanted something more efficient for verifying password hashes so i tried using bcrypt wasm and argon2 wasm, but both give this error:

Uncaught TypeError: WebAssembly Instantiation: Import #0 module="env" error: module is not an object or function

I’ve of course added them to wasm resources and verified with another wasm that wasm actually works, but neither of these work: