antelle / argon2-browser

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

Can not use JS Library as documented #30

Closed ms140569 closed 4 years ago

ms140569 commented 4 years ago

Hi - if i try to use the Argon2 lib argon2-browser@1.8.0 (exactly as described in the documentation section "JS Library") with Firefox 68, i get:

ReferenceError: module is not defined argon2.js:254:1

http://localhost:8000/node_modules/argon2-browser/lib/argon2.js:254 What have i done wrong?
antelle commented 4 years ago

Hi! Fixed that, also added an example of using the library in vanilla js: https://github.com/antelle/argon2-browser/tree/master/examples/vanilla

rajhlinux commented 3 years ago

I just downloaded the argon2-browser and when I use the "vanilla.js" example folder and then open the "index.html", I get something weird which says: "Output should appear here. If not, please check DevTools in your browser."

Here is picture of it: Papa Johns Garlic Sauce Recipe

What's wrong with it?

antelle commented 3 years ago

The message suggests what to do next.

antelle commented 3 years ago

This issue is resolved. If you have something else, please open a new one, but with more details.