@fileverse/api 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1562,12 +1562,7 @@ import hkdf from "futoin-hkdf";
1562
1562
  import tweetnacl2 from "tweetnacl";
1563
1563
  import { fromUint8Array as fromUint8Array4, toUint8Array as toUint8Array5 } from "js-base64";
1564
1564
  var deriveKeyFromAg2Hash = async (pass, salt) => {
1565
- const key = await getArgon2idHash(pass, salt, void 0, {
1566
- t: 2,
1567
- m: 4096,
1568
- p: 8,
1569
- dkLen: 32
1570
- });
1565
+ const key = await getArgon2idHash(pass, salt);
1571
1566
  return hkdf(Buffer.from(key), tweetnacl2.secretbox.keyLength, {
1572
1567
  info: Buffer.from("encryptionKey")
1573
1568
  });