internxt-crypto 0.0.11 → 0.0.13
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.
- package/dist/{symmetric-crypto-CrdS1Che.mjs → aes-DSDxP8uF.mjs} +4 -17
- package/dist/aes-DSDxP8uF.mjs.map +1 -0
- package/dist/{symmetric-crypto-D65zB396.js → aes-bOrKZuUC.js} +7 -25
- package/dist/aes-bOrKZuUC.js.map +1 -0
- package/dist/asymmetric-crypto.d.mts +1 -4
- package/dist/asymmetric-crypto.d.mts.map +1 -0
- package/dist/asymmetric-crypto.d.ts +1 -4
- package/dist/asymmetric-crypto.d.ts.map +1 -0
- package/dist/asymmetric-crypto.js +8 -7
- package/dist/asymmetric-crypto.mjs +1 -1
- package/dist/{chunk-DWirmd9C.mjs → chunk-DQk6qfdC.mjs} +3 -3
- package/dist/{chunk-Dt-PWiN7.js → chunk-EbLFQX5m.js} +3 -3
- package/dist/constants.d.mts.map +1 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +63 -30
- package/dist/constants.js.map +1 -0
- package/dist/constants.mjs +33 -2
- package/dist/constants.mjs.map +1 -0
- package/dist/derive-key.d.mts +1 -4
- package/dist/derive-key.d.mts.map +1 -0
- package/dist/derive-key.d.ts +1 -4
- package/dist/derive-key.d.ts.map +1 -0
- package/dist/derive-key.js +12 -14
- package/dist/derive-key.mjs +1 -4
- package/dist/{derive-key-Be7hS-cN.mjs → deriveKeysFromPassword-DJRWZ8Rw.mjs} +5 -21
- package/dist/deriveKeysFromPassword-DJRWZ8Rw.mjs.map +1 -0
- package/dist/{derive-key-CBf2WxJd.js → deriveKeysFromPassword-Ko7NxkHM.js} +24 -45
- package/dist/deriveKeysFromPassword-Ko7NxkHM.js.map +1 -0
- package/dist/email-crypto.d.mts +2 -5
- package/dist/email-crypto.d.mts.map +1 -0
- package/dist/email-crypto.d.ts +2 -5
- package/dist/email-crypto.d.ts.map +1 -0
- package/dist/email-crypto.js +12 -16
- package/dist/email-crypto.mjs +1 -6
- package/dist/email-search.d.mts +2 -5
- package/dist/email-search.d.mts.map +1 -0
- package/dist/email-search.d.ts +2 -5
- package/dist/email-search.d.ts.map +1 -0
- package/dist/email-search.js +14 -52
- package/dist/email-search.js.map +1 -1
- package/dist/email-search.mjs +5 -39
- package/dist/email-search.mjs.map +1 -1
- package/dist/{keystore-crypto-Bjgriq9h.mjs → emailEncryptionKey-27mIHh18.mjs} +10 -19
- package/dist/emailEncryptionKey-27mIHh18.mjs.map +1 -0
- package/dist/{keystore-crypto-B4yCVo9l.js → emailEncryptionKey-DbaDAdoW.js} +25 -40
- package/dist/emailEncryptionKey-DbaDAdoW.js.map +1 -0
- package/dist/{email-crypto-BrT98taw.js → emailKeys-BJGdkLrg.js} +50 -74
- package/dist/emailKeys-BJGdkLrg.js.map +1 -0
- package/dist/{email-crypto-DJUEjTxA.mjs → emailKeys-Fp9WR3wl.mjs} +8 -33
- package/dist/emailKeys-Fp9WR3wl.mjs.map +1 -0
- package/dist/{utils-DS04iUcX.mjs → genID-3Er5IowC.mjs} +4 -24
- package/dist/genID-3Er5IowC.mjs.map +1 -0
- package/dist/{utils-CNs3cyDj.js → genID-YJSl3YhL.js} +6 -31
- package/dist/genID-YJSl3YhL.js.map +1 -0
- package/dist/hash.d.mts +1 -4
- package/dist/hash.d.mts.map +1 -0
- package/dist/hash.d.ts +1 -4
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +11 -10
- package/dist/hash.mjs +1 -1
- package/dist/index.d.mts +11 -31
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +11 -31
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +93 -84
- package/dist/index.mjs +12 -14
- package/dist/{asymmetric-crypto-CyXsV4XT.mjs → keys-BfcaiAOv.mjs} +3 -15
- package/dist/keys-BfcaiAOv.mjs.map +1 -0
- package/dist/{asymmetric-crypto-BORmLhnx.js → keys-CinT7kEY.js} +2 -20
- package/dist/keys-CinT7kEY.js.map +1 -0
- package/dist/keystore-crypto.d.mts +2 -5
- package/dist/keystore-crypto.d.mts.map +1 -0
- package/dist/keystore-crypto.d.ts +2 -5
- package/dist/keystore-crypto.d.ts.map +1 -0
- package/dist/keystore-crypto.js +5 -10
- package/dist/keystore-crypto.mjs +1 -7
- package/dist/{post-quantum-crypto-Vv34t6gX.mjs → kyber1024-PpwE1rki.mjs} +3 -13
- package/dist/kyber1024-PpwE1rki.mjs.map +1 -0
- package/dist/{post-quantum-crypto-CAi-cEkV.js → kyber1024-jeKS8CXf.js} +2 -18
- package/dist/kyber1024-jeKS8CXf.js.map +1 -0
- package/dist/kyber768-DGBB_RS7.d.ts +32 -0
- package/dist/kyber768-DGBB_RS7.d.ts.map +1 -0
- package/dist/kyber768-DzIcGg1i.d.mts +32 -0
- package/dist/kyber768-DzIcGg1i.d.mts.map +1 -0
- package/dist/{hash-BoqwNkcd.js → mac-BMb1F0dN.js} +3 -23
- package/dist/mac-BMb1F0dN.js.map +1 -0
- package/dist/{hash-CXeGAwai.mjs → mac-ZpRlx8Fs.mjs} +3 -18
- package/dist/mac-ZpRlx8Fs.mjs.map +1 -0
- package/dist/post-quantum-crypto.d.mts +68 -2
- package/dist/post-quantum-crypto.d.mts.map +1 -0
- package/dist/post-quantum-crypto.d.ts +68 -2
- package/dist/post-quantum-crypto.d.ts.map +1 -0
- package/dist/post-quantum-crypto.js +7 -6
- package/dist/post-quantum-crypto.mjs +1 -1
- package/dist/storage-service.d.mts +47 -2
- package/dist/storage-service.d.mts.map +1 -0
- package/dist/storage-service.d.ts +47 -2
- package/dist/storage-service.d.ts.map +1 -0
- package/dist/storage-service.js +58 -4
- package/dist/storage-service.js.map +1 -0
- package/dist/storage-service.mjs +55 -2
- package/dist/storage-service.mjs.map +1 -0
- package/dist/symmetric-crypto.d.mts +1 -4
- package/dist/symmetric-crypto.d.mts.map +1 -0
- package/dist/symmetric-crypto.d.ts +1 -4
- package/dist/symmetric-crypto.d.ts.map +1 -0
- package/dist/symmetric-crypto.js +9 -9
- package/dist/symmetric-crypto.mjs +1 -2
- package/dist/types.d.mts +104 -2
- package/dist/types.d.mts.map +1 -0
- package/dist/types.d.ts +104 -2
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -2
- package/dist/types.js.map +1 -0
- package/dist/types.mjs +9 -2
- package/dist/types.mjs.map +1 -0
- package/dist/utils.d.mts +2 -5
- package/dist/utils.d.mts.map +1 -0
- package/dist/utils.d.ts +2 -5
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +16 -15
- package/dist/utils.mjs +1 -1
- package/package.json +23 -14
- package/dist/asymmetric-crypto-BORmLhnx.js.map +0 -1
- package/dist/asymmetric-crypto-CyXsV4XT.mjs.map +0 -1
- package/dist/constants-Ccp21E03.js +0 -208
- package/dist/constants-Ccp21E03.js.map +0 -1
- package/dist/constants-kTeX-2T0.mjs +0 -34
- package/dist/constants-kTeX-2T0.mjs.map +0 -1
- package/dist/derive-key-Be7hS-cN.mjs.map +0 -1
- package/dist/derive-key-CBf2WxJd.js.map +0 -1
- package/dist/email-crypto-BrT98taw.js.map +0 -1
- package/dist/email-crypto-DJUEjTxA.mjs.map +0 -1
- package/dist/hash-BoqwNkcd.js.map +0 -1
- package/dist/hash-CXeGAwai.mjs.map +0 -1
- package/dist/index-CQqgKsbX.d.ts +0 -50
- package/dist/index-CintVUbp.d.ts +0 -97
- package/dist/index-D5pBU_A5.d.mts +0 -50
- package/dist/index-MaOov-ag.d.mts +0 -97
- package/dist/keystore-crypto-B4yCVo9l.js.map +0 -1
- package/dist/keystore-crypto-Bjgriq9h.mjs.map +0 -1
- package/dist/keystore-service.d.mts +0 -48
- package/dist/keystore-service.d.ts +0 -48
- package/dist/keystore-service.js +0 -122
- package/dist/keystore-service.js.map +0 -1
- package/dist/keystore-service.mjs +0 -114
- package/dist/keystore-service.mjs.map +0 -1
- package/dist/post-quantum-crypto-CAi-cEkV.js.map +0 -1
- package/dist/post-quantum-crypto-Vv34t6gX.mjs.map +0 -1
- package/dist/storage-service-BgIK2aYZ.js +0 -82
- package/dist/storage-service-BgIK2aYZ.js.map +0 -1
- package/dist/storage-service-CubCbhY2.mjs +0 -65
- package/dist/storage-service-CubCbhY2.mjs.map +0 -1
- package/dist/symmetric-crypto-CrdS1Che.mjs.map +0 -1
- package/dist/symmetric-crypto-D65zB396.js.map +0 -1
- package/dist/types-52g887Zi.js +0 -16
- package/dist/types-52g887Zi.js.map +0 -1
- package/dist/types-BiEoleqw.mjs +0 -10
- package/dist/types-BiEoleqw.mjs.map +0 -1
- package/dist/types-Ds3ivE9W.d.ts +0 -104
- package/dist/types-DwQJtrTx.d.mts +0 -104
- package/dist/utils-CNs3cyDj.js.map +0 -1
- package/dist/utils-DS04iUcX.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-
|
|
2
|
-
const require_constants = require('./constants
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
const require_chunk = require('./chunk-EbLFQX5m.js');
|
|
2
|
+
const require_constants = require('./constants.js');
|
|
3
|
+
const require_genID = require('./genID-YJSl3YhL.js');
|
|
4
|
+
const require_aes = require('./aes-bOrKZuUC.js');
|
|
5
5
|
let _noble_hashes_blake3_js = require("@noble/hashes/blake3.js");
|
|
6
6
|
|
|
7
7
|
//#region src/derive-key/deriveKeysFromKey.ts
|
|
@@ -14,7 +14,7 @@ let _noble_hashes_blake3_js = require("@noble/hashes/blake3.js");
|
|
|
14
14
|
* @returns The derived secret key
|
|
15
15
|
*/
|
|
16
16
|
function deriveSymmetricKeyFromContext(context, baseKey) {
|
|
17
|
-
return (0, _noble_hashes_blake3_js.blake3)(baseKey, { context:
|
|
17
|
+
return (0, _noble_hashes_blake3_js.blake3)(baseKey, { context: require_genID.UTF8ToUint8(context) });
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Derives a symmetric CryptoKey from the base key and context string
|
|
@@ -28,7 +28,7 @@ async function deriveSymmetricCryptoKeyFromContext(context, baseKey) {
|
|
|
28
28
|
try {
|
|
29
29
|
if (baseKey.length != require_constants.AES_KEY_BIT_LENGTH / 8) throw new Error(`Base key length must be exactly ${require_constants.AES_KEY_BIT_LENGTH / 8} bytes`);
|
|
30
30
|
if (!context) throw new Error("Context is empry");
|
|
31
|
-
return await
|
|
31
|
+
return await require_aes.importSymmetricCryptoKey(deriveSymmetricKeyFromContext(context, baseKey));
|
|
32
32
|
} catch (error) {
|
|
33
33
|
throw new Error("Failed to derive CryptoKey from base key and context", { cause: error });
|
|
34
34
|
}
|
|
@@ -52,7 +52,7 @@ function deriveSymmetricKeyFromTwoKeys(key1, key2) {
|
|
|
52
52
|
*/
|
|
53
53
|
async function deriveSymmetricCryptoKeyFromTwoKeys(key1, key2) {
|
|
54
54
|
try {
|
|
55
|
-
return await
|
|
55
|
+
return await require_aes.importSymmetricCryptoKey(deriveSymmetricKeyFromTwoKeys(key1, key2));
|
|
56
56
|
} catch (error) {
|
|
57
57
|
throw new Error("Failed to derive symmetric CryptoKey from two keys", { cause: error });
|
|
58
58
|
}
|
|
@@ -68,7 +68,7 @@ async function deriveSymmetricCryptoKeyFromTwoKeys(key1, key2) {
|
|
|
68
68
|
function deriveSymmetricKeyFromTwoKeysAndContext(key1, key2, context) {
|
|
69
69
|
try {
|
|
70
70
|
if (key2.length != require_constants.AES_KEY_BIT_LENGTH / 8 || key1.length != require_constants.AES_KEY_BIT_LENGTH / 8) throw new Error(`Input key length must be exactly ${require_constants.AES_KEY_BIT_LENGTH / 8} bytes`);
|
|
71
|
-
return (0, _noble_hashes_blake3_js.blake3)((0, _noble_hashes_blake3_js.blake3)(key1, { key: key2 }), { context:
|
|
71
|
+
return (0, _noble_hashes_blake3_js.blake3)((0, _noble_hashes_blake3_js.blake3)(key1, { key: key2 }), { context: require_genID.UTF8ToUint8(context) });
|
|
72
72
|
} catch (error) {
|
|
73
73
|
throw new Error("Failed to derive symmetric key from two keys and context", { cause: error });
|
|
74
74
|
}
|
|
@@ -405,9 +405,9 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
405
405
|
};
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
|
-
function lockedCreate(mutex
|
|
408
|
+
function lockedCreate(mutex, binary, hashLength) {
|
|
409
409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
-
const unlock = yield mutex
|
|
410
|
+
const unlock = yield mutex.lock();
|
|
411
411
|
const wasm = yield WASMInterface(binary, hashLength);
|
|
412
412
|
unlock();
|
|
413
413
|
return wasm;
|
|
@@ -610,14 +610,14 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
610
610
|
}
|
|
611
611
|
function argon2Internal(options) {
|
|
612
612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
613
|
-
var _a
|
|
613
|
+
var _a;
|
|
614
614
|
const { parallelism, iterations, hashLength } = options;
|
|
615
615
|
const password = getUInt8Buffer(options.password);
|
|
616
616
|
const salt = getUInt8Buffer(options.salt);
|
|
617
617
|
const version = 19;
|
|
618
618
|
const hashType = getHashType(options.hashType);
|
|
619
619
|
const { memorySize } = options;
|
|
620
|
-
const secret = getUInt8Buffer((_a
|
|
620
|
+
const secret = getUInt8Buffer((_a = options.secret) !== null && _a !== void 0 ? _a : "");
|
|
621
621
|
const [argon2Interface, blake512] = yield Promise.all([WASMInterface(wasmJson$k, 1024), createBLAKE2b(512)]);
|
|
622
622
|
argon2Interface.setMemorySize(memorySize * 1024 + 1024);
|
|
623
623
|
const initVector = new Uint8Array(24);
|
|
@@ -662,7 +662,7 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
662
662
|
});
|
|
663
663
|
}
|
|
664
664
|
const validateOptions$3 = (options) => {
|
|
665
|
-
var _a
|
|
665
|
+
var _a;
|
|
666
666
|
if (!options || typeof options !== "object") throw new Error("Invalid options parameter. It requires an object.");
|
|
667
667
|
if (!options.password) throw new Error("Password must be specified");
|
|
668
668
|
options.password = getUInt8Buffer(options.password);
|
|
@@ -670,7 +670,7 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
670
670
|
if (!options.salt) throw new Error("Salt must be specified");
|
|
671
671
|
options.salt = getUInt8Buffer(options.salt);
|
|
672
672
|
if (options.salt.length < 8) throw new Error("Salt should be at least 8 bytes long");
|
|
673
|
-
options.secret = getUInt8Buffer((_a
|
|
673
|
+
options.secret = getUInt8Buffer((_a = options.secret) !== null && _a !== void 0 ? _a : "");
|
|
674
674
|
if (!Number.isInteger(options.iterations) || options.iterations < 1) throw new Error("Iterations should be a positive number");
|
|
675
675
|
if (!Number.isInteger(options.parallelism) || options.parallelism < 1) throw new Error("Parallelism should be a positive number");
|
|
676
676
|
if (!Number.isInteger(options.hashLength) || options.hashLength < 4) throw new Error("Hash length should be at least 4 bytes.");
|
|
@@ -697,7 +697,7 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
697
697
|
* Calculates hash using the argon2id password-hashing function
|
|
698
698
|
* @returns Computed hash
|
|
699
699
|
*/
|
|
700
|
-
function argon2id
|
|
700
|
+
function argon2id(options) {
|
|
701
701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
702
702
|
validateOptions$3(options);
|
|
703
703
|
return argon2Internal(Object.assign(Object.assign({}, options), { hashType: "id" }));
|
|
@@ -862,7 +862,7 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
862
862
|
* @param key Optional key (string, Buffer or TypedArray). Length should be 32 bytes.
|
|
863
863
|
* @returns Computed hash as a hexadecimal string
|
|
864
864
|
*/
|
|
865
|
-
function blake3
|
|
865
|
+
function blake3(data, bits = 256, key = null) {
|
|
866
866
|
if (validateBits$2(bits)) return Promise.reject(validateBits$2(bits));
|
|
867
867
|
let keyBuffer = null;
|
|
868
868
|
let initParam = 0;
|
|
@@ -1043,8 +1043,8 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
1043
1043
|
wasmCache$g.writeMemory(polyBuffer);
|
|
1044
1044
|
const hash = wasmCache$g.calculate(data);
|
|
1045
1045
|
return Promise.resolve(hash);
|
|
1046
|
-
} catch (err
|
|
1047
|
-
return Promise.reject(err
|
|
1046
|
+
} catch (err) {
|
|
1047
|
+
return Promise.reject(err);
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
1050
|
/**
|
|
@@ -2257,12 +2257,12 @@ var require_index_umd = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
2257
2257
|
exports$1.argon2Verify = argon2Verify;
|
|
2258
2258
|
exports$1.argon2d = argon2d;
|
|
2259
2259
|
exports$1.argon2i = argon2i;
|
|
2260
|
-
exports$1.argon2id = argon2id
|
|
2260
|
+
exports$1.argon2id = argon2id;
|
|
2261
2261
|
exports$1.bcrypt = bcrypt;
|
|
2262
2262
|
exports$1.bcryptVerify = bcryptVerify;
|
|
2263
2263
|
exports$1.blake2b = blake2b;
|
|
2264
2264
|
exports$1.blake2s = blake2s;
|
|
2265
|
-
exports$1.blake3 = blake3
|
|
2265
|
+
exports$1.blake3 = blake3;
|
|
2266
2266
|
exports$1.crc32 = crc32;
|
|
2267
2267
|
exports$1.crc64 = crc64;
|
|
2268
2268
|
exports$1.createAdler32 = createAdler32;
|
|
@@ -2395,8 +2395,8 @@ async function getKeyFromPasswordHex(password) {
|
|
|
2395
2395
|
try {
|
|
2396
2396
|
const { key, salt } = await getKeyFromPassword(password);
|
|
2397
2397
|
return {
|
|
2398
|
-
keyHex:
|
|
2399
|
-
saltHex:
|
|
2398
|
+
keyHex: require_genID.uint8ArrayToHex(key),
|
|
2399
|
+
saltHex: require_genID.uint8ArrayToHex(salt)
|
|
2400
2400
|
};
|
|
2401
2401
|
} catch (error) {
|
|
2402
2402
|
throw new Error("Failed to derive key from password", { cause: error });
|
|
@@ -2411,7 +2411,7 @@ async function getKeyFromPasswordHex(password) {
|
|
|
2411
2411
|
*/
|
|
2412
2412
|
async function getKeyFromPasswordAndSaltHex(password, saltHex) {
|
|
2413
2413
|
try {
|
|
2414
|
-
return
|
|
2414
|
+
return require_genID.uint8ArrayToHex(await getKeyFromPasswordAndSalt(password, require_genID.hexToUint8Array(saltHex)));
|
|
2415
2415
|
} catch (error) {
|
|
2416
2416
|
throw new Error("Failed to derive key from password and salt", { cause: error });
|
|
2417
2417
|
}
|
|
@@ -2428,21 +2428,6 @@ async function verifyKeyFromPasswordHex(password, saltHex, keyHex) {
|
|
|
2428
2428
|
return keyHex === await getKeyFromPasswordAndSaltHex(password, saltHex);
|
|
2429
2429
|
}
|
|
2430
2430
|
|
|
2431
|
-
//#endregion
|
|
2432
|
-
//#region src/derive-key/index.ts
|
|
2433
|
-
var derive_key_exports = /* @__PURE__ */ require_chunk.__exportAll({
|
|
2434
|
-
deriveSymmetricCryptoKeyFromContext: () => deriveSymmetricCryptoKeyFromContext,
|
|
2435
|
-
deriveSymmetricCryptoKeyFromTwoKeys: () => deriveSymmetricCryptoKeyFromTwoKeys,
|
|
2436
|
-
deriveSymmetricKeyFromContext: () => deriveSymmetricKeyFromContext,
|
|
2437
|
-
deriveSymmetricKeyFromTwoKeys: () => deriveSymmetricKeyFromTwoKeys,
|
|
2438
|
-
deriveSymmetricKeyFromTwoKeysAndContext: () => deriveSymmetricKeyFromTwoKeysAndContext,
|
|
2439
|
-
getKeyFromPassword: () => getKeyFromPassword,
|
|
2440
|
-
getKeyFromPasswordAndSalt: () => getKeyFromPasswordAndSalt,
|
|
2441
|
-
getKeyFromPasswordAndSaltHex: () => getKeyFromPasswordAndSaltHex,
|
|
2442
|
-
getKeyFromPasswordHex: () => getKeyFromPasswordHex,
|
|
2443
|
-
verifyKeyFromPasswordHex: () => verifyKeyFromPasswordHex
|
|
2444
|
-
});
|
|
2445
|
-
|
|
2446
2431
|
//#endregion
|
|
2447
2432
|
Object.defineProperty(exports, 'deriveSymmetricCryptoKeyFromContext', {
|
|
2448
2433
|
enumerable: true,
|
|
@@ -2474,12 +2459,6 @@ Object.defineProperty(exports, 'deriveSymmetricKeyFromTwoKeysAndContext', {
|
|
|
2474
2459
|
return deriveSymmetricKeyFromTwoKeysAndContext;
|
|
2475
2460
|
}
|
|
2476
2461
|
});
|
|
2477
|
-
Object.defineProperty(exports, 'derive_key_exports', {
|
|
2478
|
-
enumerable: true,
|
|
2479
|
-
get: function () {
|
|
2480
|
-
return derive_key_exports;
|
|
2481
|
-
}
|
|
2482
|
-
});
|
|
2483
2462
|
Object.defineProperty(exports, 'getKeyFromPassword', {
|
|
2484
2463
|
enumerable: true,
|
|
2485
2464
|
get: function () {
|
|
@@ -2510,4 +2489,4 @@ Object.defineProperty(exports, 'verifyKeyFromPasswordHex', {
|
|
|
2510
2489
|
return verifyKeyFromPasswordHex;
|
|
2511
2490
|
}
|
|
2512
2491
|
});
|
|
2513
|
-
//# sourceMappingURL=
|
|
2492
|
+
//# sourceMappingURL=deriveKeysFromPassword-Ko7NxkHM.js.map
|