Core idea
Encrypt a payload under a predicate
Let c1 = Enc(pk, m1) be a ciphertext for a hidden message. Conditional Encryption computes c = CEnc(pk, c1, m2, m3), where m2 is a control message and m3 is a payload.
- If
P(m1, m2) = 1, the conditional ciphertext decrypts tom3. - If
P(m1, m2) = 0, the ciphertext hides the payload and reveals only an unrelated random message.