Privacy amplification
Privacy amplification converts partially secret correlated data into a shorter key with a quantified bound on an adversary's remaining information.
On this page
Plain explanation
A raw key may be only partly unknown to an adversary. A suitable hashing procedure compresses it so that the output is close to a uniformly random key independent of the adversary's information. Compression is not arbitrary: the output length is limited by a proven entropy bound, the disclosed reconciliation information and the chosen security parameter.
Mathematical statement
In a simple nonsmoothed leftover-hash formulation, a two-universal hash producing ell bits from a source with conditional min-entropy k has a distance bound of at most one half times sqrt(2^(ell-k)), under the theorem's side-information conditions. Quantum side information requires the corresponding quantum theorem. Smoothing and composable failure budgets add terms that must remain explicit.
Solved conservative extraction example
Assume the relevant theorem certifies k=256 bits of conditional min-entropy after all leakage. Choosing ell=128 yields the bound (1/2) sqrt(2^-128)=2^-65. This is a mathematical calculation from an assumed entropy certificate. It does not show that a particular laboratory source has 256 bits of min-entropy. If leakage reduces k to 160 while ell remains 128, the same bound becomes 2^-17, much weaker.
Limits and misconceptions
Hashing does not create secret entropy from a source already known to the adversary. A cryptographic hash function used without the required extraction assumptions is not automatically an information-theoretic extractor. The public choice of an appropriate hash seed can be allowed by the theorem; the seed's role and independence conditions must be stated.
Compression trades length for indistinguishability
Privacy amplification uses a public random choice of hash function to compress a partly secret string into a shorter key. The seed selects a function; it need not itself remain secret in the standard information-theoretic setting with the corresponding independence assumptions. What matters is a bound on the raw string's unpredictability conditioned on the adversary's information and the full public transcript.
Quantum side information requires an entropy notion that remains meaningful when the adversary holds a quantum system. Smooth conditional min-entropy is one such quantity. Its operational role is different from simply subtracting a Shannon mutual-information estimate from the raw string length. A small average information measure can coexist with security failures under composition, so the definition of secrecy must match the use of the extracted key.
A deliberately classical toy extractor
Suppose a uniformly random four-bit raw string x is known to an adversary only through its parity p=x0+x1+x2+x3 modulo two. Conditioned on either parity, there are eight equiprobable possible strings. The first three bits remain uniformly distributed: for every choice of x0,x1,x2, exactly one value of x3 gives the known parity. Thus the three-bit string (x0,x1,x2) is secret in this highly specific classical distribution.
This deterministic extraction works because the exact side-information structure is known. It is not a generic privacy-amplification method. If the adversary instead knows x0,x1,x2, outputting those same three bits reveals the entire proposed key even though one raw bit remains unknown. A universal hashing theorem provides guarantees over a specified broad class of sources using an entropy lower bound; a hand-picked projection does not offer the same statement.
An illustrative length budget
Suppose a security proof has already established a lower bound h=120,000 bits on the relevant smooth conditional min-entropy after all required leakage has been included. A conservative illustrative extraction rule of the form ell<=h-2 log2(1/epsilon_PA), with constants and smoothing terms supplied by the actual theorem, gives a privacy-amplification margin of about 66.4386 bits when epsilon_PA=10^-10. Rounding the output length down gives at most 119,933 bits under this simplified arithmetic.
The formula here is a budgeting illustration, not a substitute for a complete finite-key theorem. Different conventions distribute smoothing, correctness and secrecy parameters differently and can change constants. If a quoted h excludes reconciliation leakage, that leakage must first be incorporated. Subtracting it twice would unnecessarily shorten the key; omitting it would overstate the guarantee. Every implementation-oriented entry should say exactly which transcript is conditioned on.
Why a secret key must be close to uniform
A one-time pad encrypts an m-bit message by XOR with an m-bit key. If a key bit is known or biased, corresponding information about the ciphertext's message bit can remain available. For a single-bit example, suppose Pr(K=0)=0.9 and the message is otherwise equally likely. Observing ciphertext C=0 makes message 0 more likely than message 1 by the same bias, because C=M XOR K. A key that is hard to guess in its entirety need not be suitable as a one-time pad if its individual structure leaks message information.
Composable secrecy bounds the joint behavior of the released key and the adversary’s system, allowing the key to be compared with an ideal key in a larger protocol. The public seed selects a hash of the raw string with a shorter output. Hashing does not erase the adversary’s existing side information. The shorter length limits correlations with the retained key under the stated bound.
Shannon entropy and guessing probability summarize different features
For a classical variable with no side information, min-entropy is H_min(X)=-log2 p_max, where p_max is the largest outcome probability. Consider a four-bit variable that equals one particular string with probability one half and is uniform over the other fifteen strings with total probability one half. Its min-entropy is one bit. Its Shannon entropy is 1+(1/2)log2(15), approximately 2.953445 bits.
The high-probability string explains the difference: an adversary can guess the complete raw string correctly half the time even though the remaining probability is spread across many alternatives. This calculation does not by itself give a composable extraction length in the presence of quantum side information or smoothing. It shows why substituting Shannon entropy for the entropy required by a privacy-amplification theorem can substantially overstate the available guarantee.
Smoothing allows a precisely quantified departure from the original state or distribution under a specified distance, and conditional entropy accounts for an adversary's information. Both are part of the theorem rather than cosmetic refinements to a length formula. The numerical example should remain labeled classical and unconditional. Its purpose is to make the distinct operational questions visible: average information, most likely guess and closeness of an extracted key to an ideal uniform resource.
Sources
Verification scope
Metadata and abstract checked ·
Abstract supports the need to include device imperfections; individual security theorems are not certified by this bibliographic check.
Verification scope
Citation identity checked ·
Bibliographic record and abstract checked; no figures or extensive text reproduced.
Verification scope
Metadata and abstract checked
Title, authors, publication date, DOI and abstract retrieved from the publisher. No claim of exhaustive independent proof review.
Explanatory reference for security definitions and composition. Original synthetic examples are separately calculated.
Verification scope
Available excerpt checked
Publisher metadata and the available abstract identify the authors, date and finite-key topic.
The primary paper is necessary to verify constants and protocol-specific conditions. The bounds here are illustrative.