use argon2hash-wasm module

This commit is contained in:
Christophe Diederichs 2023-06-02 15:45:24 +01:00
parent 4465a532c4
commit 2b515e6b71
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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",