Cryptographic leakage function

ID: cryptographic-leakage-function

A cryptographic leakage function specifies which observation of secret state is disclosed in a model. A deterministic version writes , where is a secret random variable. It is a description of an observer's information, not an encryption algorithm. An ideal cryptographic functionality can explicitly send permitted disclosures to its cryptographic simulator; Canetti's secure-communication example permits disclosure of message length.[ref]
For an observed value of positive probability, possible secrets lie in its preimage under . Their posterior probabilities are
Equal likelihood within that set requires a uniform prior there; it is not a consequence of the word leakage.
An original example takes uniform on all eight-bit strings and lets be its Hamming weight. The disclosure has only nine possible values, but its consequences vary. If , there are equally likely secrets and the best exact guess succeeds with probability . If , the secret is certainly the all-zero string. A rare disclosure can therefore determine the complete secret even though the observation is encoded in only four bits.
Averaging optimal exact-guess success over all disclosed weights gives
compared with before observation. This Hamming-weight leakage of a uniform bit string distinguishes an average guessing probability from the worst conditional outcome.
Specify repeated observations and any correlated side information too. Two individually limited disclosures can jointly identify a secret. A randomized or noisy observation is described by a conditional channel rather than only a deterministic function. Stating an allowed cryptographic leakage function makes a security claim precise; it does not establish that the disclosure is harmless for every application.

New to topics? Read the docs here!