The leftover hash lemma is a
lemma
Lemma may refer to:
Language and linguistics
* Lemma (morphology), the canonical, dictionary or citation form of a word
* Lemma (psycholinguistics), a mental abstraction of a word about to be uttered
Science and mathematics
* Lemma (botany), a ...
in
cryptography first stated by
Russell Impagliazzo
Russell Graham Impagliazzo is a professor of computer science at the University of California, San Diego specializing in computational complexity theory, having joined the faculty of UCSD in 1989. He received a BA in mathematics from Wesleyan U ...
,
Leonid Levin, and
Michael Luby.
Imagine that you have a secret
key
Key or The Key may refer to:
Common meanings
* Key (cryptography), a piece of information that controls the operation of a cryptography algorithm
* Key (lock), device used to control access to places or facilities restricted by a lock
* Key (map ...
that has
uniform random bits, and you would like to use this secret key to encrypt a message. Unfortunately, you were a bit careless with the key, and know that an
adversary was able to learn the values of some bits of that key, but you do not know which bits. Can you still use your key, or do you have to throw it away and choose a new key? The leftover hash lemma tells us that we can produce a key of about bits, over which the adversary has
almost no knowledge. Since the adversary knows all but bits, this is almost
optimal.
More precisely, the leftover hash lemma tells us that we can extract a length asymptotic to
(the
min-entropy of ) bits from a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
that are almost uniformly distributed. In other words, an adversary who has some partial knowledge about , will have almost no knowledge about the extracted value. That is why this is also called privacy amplification (see privacy amplification section in the article
Quantum key distribution).
Randomness extractors achieve the same result, but use (normally) less randomness.
Let be a random variable over
and let
. Let
be a
2-universal hash function. If
:
then for uniform over
and independent of , we have:
:
where is uniform over
and independent of .