@hpke/core
Version:
A Hybrid Public Key Encryption (HPKE) core module for various JavaScript runtimes
13 lines • 598 B
TypeScript
import type { AeadId, AeadInterface, KdfId, KdfInterface, KemId, KemInterface } from "@hpke/common";
/**
* The parameters used to configure the `CipherSuite`.
*/
export interface CipherSuiteParams {
/** The KEM (Key Encapsulation Mechanism) identifier or the KEM object. */
kem: KemId | KemInterface;
/** The KDF (Key Derivation Function) identifier or the KDF object. */
kdf: KdfId | KdfInterface;
/** The AEAD (Authenticated Encryption with Addtional Data) identifier or the AEAD object. */
aead: AeadId | AeadInterface;
}
//# sourceMappingURL=cipherSuiteParams.d.ts.map