kemDecapsulate0

abstract suspend fun kemDecapsulate0(ciphertext: ByteString, keyContext: ByteString): ByteString

Initiates decapsulating a shared secret with a KEM cloud key.

Return

the nonce generated by the server to be signed by the companion local key.

Parameters

ciphertext

the encapsulated ciphertext.

keyContext

the encrypted server state for the key.