Cryptographically negligible probability 2026-11-05
A cryptographically negligible probability is a function of the cryptographic security parameter that eventually becomes smaller than every inverse power of that parameter. Formally,The threshold may depend on . This is the inverse-polynomial definition of negligibility used in asymptotic cryptography.[ref]
In a World of P=BPP by Oded Goldreich. Printedp.107, preliminary definitions of negligible and noticeable probabilities
For example, is negligible because an exponential eventually dominates every fixed power. The function is not negligible: it exceeds whenever . Even the constant is not negligible as a function of , although it is numerically small. Negligibility describes a family of experiments as the parameter grows, rather than a synonym for “unlikely” in one experiment.
An original closure calculation explains why the definition is useful. Suppose an adversary gets at most attempts and each has success probability at most . The union bound gives total success probability at most , without requiring independent attempts. Given any , negligibility with exponent eventually givesThus a polynomial number of opportunities preserves negligibility. A concrete numerical guarantee still requires an explicit bound at the chosen parameter; the asymptotic quantifiers alone do not supply that value.
Cryptographic distinguishing advantage 2026-11-05
Cryptographic distinguishing advantage measures how differently a specified test behaves on two distributions or experiments. For a binary-output distinguisher and distributions , one common definition isA cryptographic security game must state its convention and the allowed computation and observations. Provable security uses such quantitative bounds together with the resources required by a security reduction.[ref]
Practice-Oriented Provable-Security by Mihir Bellare. §§2.2 and 3.2, reductions and concrete security
An original two-world example explains a common normalization difference. Let be a bit equal to one with probability , and a bit equal to one with probability . The test has . If a challenger selects the world with equal prior probability and the observer guesses X on output one and Y on output zero, its success probability is . Its advantage above random guessing is , half the probability-gap convention.
In general, orienting the decision rule toward the larger probability givesThus a statement of advantage can mean either a probability gap of or a success probability , depending on the convention. The numerical security claim is incomplete until that choice is specified.
If every event test is allowed, the largest probability gap is total variation distance. Restricting the distinguisher to an efficient algorithm yields a computational notion: distributions can differ substantially statistically while being difficult for a resource-bounded observer to distinguish. Computational indistinguishability describes the asymptotic version indexed by a cryptographic security parameter.
For any fixed , adding and subtracting its intermediate acceptance probability givesFor example, bounds and on two successive changes give an overall bound . This simple triangle inequality explains how a sequence of controlled experiment changes can support a security argument. The distributions, permitted observers and resource costs must remain the ones justified at each step.
Cryptographic environment 2026-11-05
A cryptographic environment is the interactive external context used to judge a cryptographic protocol in universal composability. It supplies honest parties' inputs, observes their outputs, communicates with the adversary, and ultimately outputs a decision bit. The comparison asks whether this bit's probability distribution changes detectably between the real execution and an ideal execution with a cryptographic simulator.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF pp. 20–24, execution model, protocol emulation and quantitative formulation
The same cryptographic environment observes either a real protocol and adversary or an ideal service and simulator. Honest-party forwarding is collapsed into the ideal-service box.
Details. The cryptographic environment models other software using the service, including choices depending on earlier outputs. It can retain private information with which to check later responses. Its view therefore includes the relationship between inputs, outputs and adversarial messages, not just isolated packet statistics.
An original two-bit example shows why that relationship matters. Let be a random variable with the uniform distribution on a finite set . One system returns ; another returns with an independent uniform bit. Each individual coordinate has the same marginal distribution in both systems. Nevertheless, the test “accept exactly when the two bits agree” has acceptance probabilitiesIts cryptographic distinguishing advantage is . Matching each output's marginal does not match their joint probability distribution. An interactive cryptographic environment can perform corresponding consistency checks against its retained inputs.
In the computational definition, the cryptographic environment has the specified polynomial time bound indexed by the cryptographic security parameter. For each real adversary, one cryptographic simulator must handle every allowed cryptographic environment; choosing a new simulator after learning which particular context will test it changes the requirement.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF p. 23, quantifier order; pp. 74–76, general formulation and restrictions
This breadth explains the usefulness of universal composability: a service can be analysed within a larger application context. The conclusion still concerns the interactions and cryptographic leakage admitted by the stated execution model.
Cryptographic security game 2026-11-05
A cryptographic security game is a precisely specified experiment defining what an adversary may observe and do, and what counts as success. Its rules include key generation, random choices, permitted queries, resource limits and a winning condition. Security statements bound the winning probability or a specified cryptographic distinguishing advantage, often as a function of a cryptographic security parameter. A reduction proves a result about that defined experiment, not every informal meaning of the word secure.[ref]
Practice-Oriented Provable-Security by Mihir Bellare. §§2.2 and 3.2, reductions and concrete security; §4.3, proofs and definitions
For an original one-challenge confidentiality game, an adversary chooses two equal-length plaintexts . A challenger samples an independent uniform bit , encrypts , and gives the ciphertext to the adversary, which returns a guess . In this simplified game there are no additional encryption or decryption queries. DefineRandom guessing has advantage zero. A success probability gives advantage . Another convention doubles this value; stating the normalization avoids a factor-of-two ambiguity when comparing bounds.
The one-time pad supplies a complete worked example. Let messages and the independently uniform key contain bits, and set . For any fixed -bit string and either challenge bit,since exactly one key gives that ciphertext. The ciphertext distribution is identical for and , so no function of it and the chosen messages can outperform guessing. The advantage is zero in this game.
Changing the rules can change the result. Reusing the pad for another message supplies the relation . A chosen-plaintext attack game grants access to encryptions selected by the adversary; a chosen-ciphertext attack game grants additional decryption access with carefully stated restrictions. The proof for the one-challenge experiment does not establish security under those extra observations.
A forgery game for a message authentication code instead asks for an accepted message/tag pair meeting its freshness condition. That is a different winning event from guessing an encrypted message. The cryptographic security game makes these distinctions inspectable and provides the exact target for a security reduction.
Cryptographic setup 2026-11-05
Cryptographic setup is the generation and distribution of initial parameters or other resources required by a cryptographic protocol. Its specification includes the input cryptographic security parameter, the sampling procedure, the public output and any information that must remain secret. Setup is part of the protocol's security model, rather than an arbitrary source of well-formatted constants.
A common reference string gives one example. Parties to a non-interactive zero-knowledge proof may share a public string sampled by the prescribed setup. The definition describes both its distribution and how that setup participates in real and simulated proof experiments.[ref]
Zero-Knowledge: a tutorial by Oded Goldreich. Section8, shared reference-string model and joint simulation
An original distribution example makes the generation rule explicit. Let a toy setup sample two independent uniform bits and publishIts support is , each with probability . A uniformly sampled three-bit string instead has eight possible values, each with probability . The two generators publish strings of the same length, but the second satisfies the parity equation only half the time.
Universal composability 2026-11-05
Universal composability is a framework for specifying and proving security of cryptographic protocols so that their guarantees survive the framework's protocol-composition operation. It compares a real implementation with an ideal cryptographic functionality describing the intended service, permitted leakage and adversarial influence. Ran Canetti's primary work develops the composition guarantee, including concurrent executions.[ref]
Universally Composable Security: A New Paradigm for Cryptographic Protocols by Ran Canetti. Abstract, modular analysis and universal composition; version history
The comparison uses a cryptographic simulator in the ideal execution and a cryptographic environment trying to distinguish the executions. Schematically, in the computational formulation,Here is the real adversary, the simulator, the environment, an auxiliary input and the cryptographic security parameter. The participants have the specified computational bounds, and denotes computational indistinguishability. The simulator is chosen for the adversary before universally quantifying over environments; a different simulator chosen after seeing each environment would be a weaker requirement.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF pp. 23–25, protocol emulation and ideal functionalities; pp. 74–76, general formulation and technical restrictions
An original distinguishing example shows why permitted leakage belongs in the specification. Suppose an ideal channel hides a message's length before delivery, but a proposed real implementation exposes that length. An environment privately selects a uniform bit and supplies an honest sender a one-byte message if or a two-byte message if . It asks the adversary to guess before the honest recipient supplies any output. Visible length lets a real adversary guess perfectly. An ideal simulator receiving no length or content information can guess only with probability . The environment accepts when the guess equals its private bit, giving a probability gap .
That mismatch can be addressed by changing the implementation, for example with suitable padding, or by specifying the intended length leakage in the ideal service. The two choices describe different security properties. Correctly delivering messages does not by itself resolve the distinction.
The composition theorem permits replacing an ideal-service call by a protocol that realizes that service, under the theorem's interface and execution-model conditions. This supports modular proofs: a larger protocol need not reanalyse the lower-level implementation from scratch.[ref]
Universally Composable Security: A Tutorial by Ran Canetti. PDF pp. 48–49, universal composition theorem and quantitative version
The guarantee belongs to the modelled setup, identities and allowed interactions; an isolated confidentiality game is not automatically a proof of universal composability.