MlKemEncapsulateResult¶
Namespace CryptoService.Sdk.
An ML-KEM encapsulation.
Remarks¶
MlKemEncapsulateResult.SharedSecret is key material: never log it.
Methods¶
GetSharedSecretBytes()¶
The shared secret's bytes.
Returns: The decoded MlKemEncapsulateResult.SharedSecret.
Properties¶
Algorithm¶
Always ml-kem-768.
Ciphertext¶
The KEM ciphertext, lowercase hex.
SharedSecret¶
The shared secret, lowercase hex.