@hpke/common
Advanced tools
Comparing version 0.3.0 to 0.5.0
@@ -18,3 +18,5 @@ export type { AeadEncryptionContext } from "./src/interfaces/aeadEncryptionContext.js"; | ||
export { XCryptoKey } from "./src/xCryptoKey.js"; | ||
export { HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, } from "./src/kdfs/hkdf.js"; | ||
export { AEAD_USAGES } from "./src/interfaces/aeadEncryptionContext.js"; | ||
export { KEM_USAGES } from "./src/interfaces/dhkemPrimitives.js"; | ||
export { LABEL_DKP_PRK, LABEL_SK } from "./src/interfaces/dhkemPrimitives.js"; | ||
@@ -21,0 +23,0 @@ export { SUITE_ID_HEADER_KEM } from "./src/interfaces/kemInterface.js"; |
@@ -8,3 +8,5 @@ export * from "./src/errors.js"; | ||
export { XCryptoKey } from "./src/xCryptoKey.js"; | ||
export { HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, } from "./src/kdfs/hkdf.js"; | ||
export { AEAD_USAGES } from "./src/interfaces/aeadEncryptionContext.js"; | ||
export { KEM_USAGES } from "./src/interfaces/dhkemPrimitives.js"; | ||
export { LABEL_DKP_PRK, LABEL_SK } from "./src/interfaces/dhkemPrimitives.js"; | ||
@@ -11,0 +13,0 @@ export { SUITE_ID_HEADER_KEM } from "./src/interfaces/kemInterface.js"; |
{ | ||
"name": "@hpke/common", | ||
"version": "0.3.0", | ||
"version": "0.5.0", | ||
"description": "A Hybrid Public Key Encryption (HPKE) internal-use common module for @hpke family modules.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,3 +18,5 @@ export type { AeadEncryptionContext } from "./src/interfaces/aeadEncryptionContext.js"; | ||
export { XCryptoKey } from "./src/xCryptoKey.js"; | ||
export { HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, } from "./src/kdfs/hkdf.js"; | ||
export { AEAD_USAGES } from "./src/interfaces/aeadEncryptionContext.js"; | ||
export { KEM_USAGES } from "./src/interfaces/dhkemPrimitives.js"; | ||
export { LABEL_DKP_PRK, LABEL_SK } from "./src/interfaces/dhkemPrimitives.js"; | ||
@@ -21,0 +23,0 @@ export { SUITE_ID_HEADER_KEM } from "./src/interfaces/kemInterface.js"; |
@@ -21,3 +21,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "./src/errors.js", "./src/algorithm.js", "./src/identifiers.js", "./src/kems/dhkem.js", "./src/kems/dhkemPrimitives/ec.js", "./src/kems/hybridkem.js", "./src/xCryptoKey.js", "./src/interfaces/aeadEncryptionContext.js", "./src/interfaces/dhkemPrimitives.js", "./src/interfaces/kemInterface.js", "./src/consts.js", "./src/utils/misc.js"], factory); | ||
define(["require", "exports", "./src/errors.js", "./src/algorithm.js", "./src/identifiers.js", "./src/kems/dhkem.js", "./src/kems/dhkemPrimitives/ec.js", "./src/kems/hybridkem.js", "./src/xCryptoKey.js", "./src/kdfs/hkdf.js", "./src/interfaces/aeadEncryptionContext.js", "./src/interfaces/dhkemPrimitives.js", "./src/interfaces/dhkemPrimitives.js", "./src/interfaces/kemInterface.js", "./src/consts.js", "./src/utils/misc.js"], factory); | ||
} | ||
@@ -27,3 +27,3 @@ })(function (require, exports) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.xor = exports.isCryptoKeyPair = exports.i2Osp = exports.concat = exports.MINIMUM_PSK_LENGTH = exports.INPUT_LENGTH_LIMIT = exports.EMPTY = exports.SUITE_ID_HEADER_KEM = exports.LABEL_SK = exports.LABEL_DKP_PRK = exports.AEAD_USAGES = exports.XCryptoKey = exports.Hybridkem = exports.Ec = exports.Dhkem = exports.Mode = exports.KemId = exports.KdfId = exports.AeadId = exports.NativeAlgorithm = void 0; | ||
exports.xor = exports.isCryptoKeyPair = exports.i2Osp = exports.concat = exports.MINIMUM_PSK_LENGTH = exports.INPUT_LENGTH_LIMIT = exports.EMPTY = exports.SUITE_ID_HEADER_KEM = exports.LABEL_SK = exports.LABEL_DKP_PRK = exports.KEM_USAGES = exports.AEAD_USAGES = exports.HkdfSha512Native = exports.HkdfSha384Native = exports.HkdfSha256Native = exports.XCryptoKey = exports.Hybridkem = exports.Ec = exports.Dhkem = exports.Mode = exports.KemId = exports.KdfId = exports.AeadId = exports.NativeAlgorithm = void 0; | ||
__exportStar(require("./src/errors.js"), exports); | ||
@@ -45,7 +45,13 @@ var algorithm_js_1 = require("./src/algorithm.js"); | ||
Object.defineProperty(exports, "XCryptoKey", { enumerable: true, get: function () { return xCryptoKey_js_1.XCryptoKey; } }); | ||
var hkdf_js_1 = require("./src/kdfs/hkdf.js"); | ||
Object.defineProperty(exports, "HkdfSha256Native", { enumerable: true, get: function () { return hkdf_js_1.HkdfSha256Native; } }); | ||
Object.defineProperty(exports, "HkdfSha384Native", { enumerable: true, get: function () { return hkdf_js_1.HkdfSha384Native; } }); | ||
Object.defineProperty(exports, "HkdfSha512Native", { enumerable: true, get: function () { return hkdf_js_1.HkdfSha512Native; } }); | ||
var aeadEncryptionContext_js_1 = require("./src/interfaces/aeadEncryptionContext.js"); | ||
Object.defineProperty(exports, "AEAD_USAGES", { enumerable: true, get: function () { return aeadEncryptionContext_js_1.AEAD_USAGES; } }); | ||
var dhkemPrimitives_js_1 = require("./src/interfaces/dhkemPrimitives.js"); | ||
Object.defineProperty(exports, "LABEL_DKP_PRK", { enumerable: true, get: function () { return dhkemPrimitives_js_1.LABEL_DKP_PRK; } }); | ||
Object.defineProperty(exports, "LABEL_SK", { enumerable: true, get: function () { return dhkemPrimitives_js_1.LABEL_SK; } }); | ||
Object.defineProperty(exports, "KEM_USAGES", { enumerable: true, get: function () { return dhkemPrimitives_js_1.KEM_USAGES; } }); | ||
var dhkemPrimitives_js_2 = require("./src/interfaces/dhkemPrimitives.js"); | ||
Object.defineProperty(exports, "LABEL_DKP_PRK", { enumerable: true, get: function () { return dhkemPrimitives_js_2.LABEL_DKP_PRK; } }); | ||
Object.defineProperty(exports, "LABEL_SK", { enumerable: true, get: function () { return dhkemPrimitives_js_2.LABEL_SK; } }); | ||
var kemInterface_js_1 = require("./src/interfaces/kemInterface.js"); | ||
@@ -52,0 +58,0 @@ Object.defineProperty(exports, "SUITE_ID_HEADER_KEM", { enumerable: true, get: function () { return kemInterface_js_1.SUITE_ID_HEADER_KEM; } }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246927
225
4335