Skip to contents

Recover the shared secret from an encapsulation ciphertext using the recipient's secret key.

Usage

morie_crypto_mlkem768_decaps(sk, ct)

Arguments

sk

2400-byte raw vector (recipient's ML-KEM-768 secret key).

ct

1088-byte raw vector (sender's encapsulation ciphertext).

Value

Raw vector (32 B), the shared secret.