Interface: Encapsulation
Defined in: kem.ts:9
Result of HybridKEM.encapsulate.
Properties
ciphertext
readonlyciphertext:Uint8Array
Defined in: kem.ts:11
Send this to the key holder (HybridCipherText.to_bytes() in quantum-safe-py).
sharedSecret
readonlysharedSecret:SecretBytes
Defined in: kem.ts:13
The 32-byte shared secret. Free it (or use using) when done; derive keys with deriveKey().