emcc -s MODULARIZE=1 generates invalid argon2.js
See original GitHub issue@antelle ,
first of all thank you for this great repo.
I have cloned and build the repo without any problem with your version. No problem with plain Javascript. However, I am trying to load the wasm into Angular 10.
To do so, I have modified the build-wasm.sh
adding to the -DCMAKE_EXE_LINKER_FLAGS=
the emcc option -s MODULARIZE=1
to be able to load it easily from Typescript.
Doing this, the generated argon2.js
is no longer valid.
Can you try to add this option and compile to confirm that it’s not due to my setup? Thank you for considering / your help.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
argon2_elixir/argon2.ex at master - GitHub
Argon2 is a memory-hard password hashing function which can be used to hash. passwords for credential storage, key derivation, or other applications.
Read more >argon2 - npm
It's possible to hash using either Argon2i, Argon2d or Argon2id (default), and verify if a password matches a hash. To hash a password:...
Read more >Zero to Hashing in under 10 Minutes: Argon2 in Nodejs
Let's take a look at what Argon2 does, why it was necessary, then how to build a simple Node.js application that uses it...
Read more >Dimitri Witkowski argon2-browser Issues - Giters
Dimitri Witkowski argon2-browser: Argon2 library compiled for browser runtime. ... emcc -s MODULARIZE=1 generates invalid argon2.js. Closed 2 years ago 5 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
These perl lines fix some stuff added by default by Emscripten. I already can’t remember what it was then.
It works great. 👍
I do apologize I didn’t try to understand the perl lines first… Thank you for the update, and once again, a very nice and clean job you’ve done!
Best