use argon2hash-wasm module
This commit is contained in:
parent
4465a532c4
commit
2b515e6b71
@ -1,6 +1,6 @@
|
|||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
const b4a = require('b4a')
|
const b4a = require('b4a')
|
||||||
const argon2 = require('../../wasm/argon2-wasm')
|
const argon2 = require('argon2hash-wasm')
|
||||||
const { randombytes_buf } = require('./randombytes')
|
const { randombytes_buf } = require('./randombytes')
|
||||||
|
|
||||||
const crypto_pwhash_argon2i_ALG_ARGON2I13 = 1
|
const crypto_pwhash_argon2i_ALG_ARGON2I13 = 1
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"description": "WIP - a pure javascript version of sodium-native",
|
"description": "WIP - a pure javascript version of sodium-native",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"argon2-wasm": "^0.9.0",
|
"argon2hash-wasm": "^1.0.0",
|
||||||
"blake2b": "^2.1.1",
|
"blake2b": "^2.1.1",
|
||||||
"chacha20-universal": "^1.0.4",
|
"chacha20-universal": "^1.0.4",
|
||||||
"nanoassert": "^2.0.0",
|
"nanoassert": "^2.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user