diff --git a/crypto_pwhash.js b/crypto_pwhash.js index b6151c8..babeff6 100644 --- a/crypto_pwhash.js +++ b/crypto_pwhash.js @@ -1,6 +1,6 @@ /* eslint-disable camelcase */ const b4a = require('b4a') -const argon2 = require('../../wasm/argon2-wasm') +const argon2 = require('argon2hash-wasm') const { randombytes_buf } = require('./randombytes') const crypto_pwhash_argon2i_ALG_ARGON2I13 = 1 diff --git a/package.json b/package.json index ef1d921..a83aa94 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "WIP - a pure javascript version of sodium-native", "main": "index.js", "dependencies": { - "argon2-wasm": "^0.9.0", + "argon2hash-wasm": "^1.0.0", "blake2b": "^2.1.1", "chacha20-universal": "^1.0.4", "nanoassert": "^2.0.0",