@hpke/common
Version:
A Hybrid Public Key Encryption (HPKE) internal-use common module for @hpke family modules.
26 lines • 1.89 kB
TypeScript
export type { AeadEncryptionContext } from "./src/interfaces/aeadEncryptionContext.js";
export type { AeadInterface } from "./src/interfaces/aeadInterface.js";
export type { DhkemPrimitives } from "./src/interfaces/dhkemPrimitives.js";
export type { DhkemInterface } from "./src/interfaces/dhkemInterface.js";
export type { JsonWebKeyExtended } from "./src/interfaces/jsonWebKeyExtended.js";
export type { KdfInterface } from "./src/interfaces/kdfInterface.js";
export type { KemInterface } from "./src/interfaces/kemInterface.js";
export type { KeyScheduleParams } from "./src/interfaces/keyScheduleParams.js";
export type { PreSharedKey } from "./src/interfaces/preSharedKey.js";
export type { RecipientContextParams } from "./src/interfaces/recipientContextParams.js";
export type { SenderContextParams } from "./src/interfaces/senderContextParams.js";
export * from "./src/errors.js";
export { NativeAlgorithm } from "./src/algorithm.js";
export { AeadId, KdfId, KemId, Mode } from "./src/identifiers.js";
export { Dhkem } from "./src/kems/dhkem.js";
export { Ec } from "./src/kems/dhkemPrimitives/ec.js";
export { Hybridkem } from "./src/kems/hybridkem.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";
export { SUITE_ID_HEADER_KEM } from "./src/interfaces/kemInterface.js";
export { EMPTY, INPUT_LENGTH_LIMIT, MINIMUM_PSK_LENGTH } from "./src/consts.js";
export { base64UrlToBytes, concat, hexToBytes, i2Osp, isCryptoKeyPair, isDeno, isDenoV1, kemToKeyGenAlgorithm, loadCrypto, loadSubtleCrypto, xor, } from "./src/utils/misc.js";
//# sourceMappingURL=mod.d.ts.map