In
cryptography
Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or ''-logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adve ...
and the
theory of computation
In theoretical computer science and mathematics, the theory of computation is the branch that deals with what problems can be solved on a model of computation, using an algorithm, how efficiently they can be solved or to what degree (e.g., ...
, Yao's test is a test defined by
Andrew Chi-Chih Yao
Andrew Chi-Chih Yao (; born December 24, 1946) is a Chinese computer scientist and computational theorist. He is currently a professor and the dean of Institute for Interdisciplinary Information Sciences (IIIS) at Tsinghua University. Yao used ...
in 1982,
Andrew Chi-Chih Yao
Andrew Chi-Chih Yao (; born December 24, 1946) is a Chinese computer scientist and computational theorist. He is currently a professor and the dean of Institute for Interdisciplinary Information Sciences (IIIS) at Tsinghua University. Yao used ...
Theory and applications of trapdoor functions
In Proceedings of the 23rd IEEE Symposium on Foundations of Computer Science, 1982. against pseudo-random sequences. A sequence of words passes Yao's test if an attacker with reasonable computational power cannot distinguish it from a sequence generated uniformly at random.
Formal statement
Boolean circuits
Let
be a polynomial, and
be a collection of sets
of
-bit long sequences, and for each
, let
be a
probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomeno ...
on
, and
be a polynomial. A predicting collection
is a collection of
boolean circuits
In computational complexity theory and circuit complexity, a Boolean circuit is a mathematical model for combinational digital logic circuits. A formal language can be decided by a family of Boolean circuits, one circuit for each possible inp ...
of size less than
. Let
be the probability that on input
, a string randomly selected in
with probability
,
, i.e.
Moreover, let
be the probability that
on input
a
-bit long sequence selected
uniformly at random in
. We say that
passes Yao's test if for all predicting collection
, for all but finitely many
, for all polynomial
:
Probabilistic formulation
As in the case of the
next-bit test
In cryptography and the theory of computation, the next-bit testAndrew Chi-Chih YaoTheory and applications of trapdoor functions In Proceedings of the 23rd IEEE Symposium on Foundations of Computer Science, 1982. is a test against Pseudo-random, p ...
, the predicting collection used in the above definition can be replaced by a probabilistic Turing machine, working in polynomial time. This also yields a strictly stronger definition of Yao's test (see
Adleman's theorem). Indeed, One could decide
undecidable properties of the pseudo-random sequence with the non-uniform circuits described above, whereas
BPP machines can always be simulated by exponential-time
deterministic Turing machines.
References
Cryptography
Theory of computation