Skip to content

Interface: Encapsulation ​

Defined in: kem.ts:9

Result of HybridKEM.encapsulate.

Properties ​

ciphertext ​

readonly ciphertext: Uint8Array

Defined in: kem.ts:11

Send this to the key holder (HybridCipherText.to_bytes() in quantum-safe-py).


sharedSecret ​

readonly sharedSecret: SecretBytes

Defined in: kem.ts:13

The 32-byte shared secret. Free it (or use using) when done; derive keys with deriveKey().

Apache-2.0.