---
title: Perfect Message Authentication Codes
url: https://www.emergentmind.com/topics/perfect-message-authentication-code
type: topic
---

# Perfect Message Authentication Codes

Searching arXiv for recent and foundational work on perfect message authentication codes and closely related information-theoretic authentication.
A perfect message authentication code is an information-theoretic authentication mechanism whose security is specified against even unbounded adversaries, but the exact meaning of “perfect” depends on the model. In the one-time MAC literature, it refers to the strong single-query authentication setting with explicit bounds on forgery probability under uniform or non-uniform keys [2508.09783]. In the splitting-model literature, perfect secrecy and optimal spoofing resistance are studied simultaneously through non-deterministic encodings and combinatorial designs [1112.0038]. Closely related work shows that group-generated splitting authentication codes have perfect secrecy, that algebraic manipulation detection codes arise as a special case, and that quantum or channel-based models can realize different notions of perfect authentication under additional resources or assumptions [2104.11076], [2011.06849], [1804.01797].

## 1. Formal models and security criteria

In the one-time MAC setting, a scheme is a pair of algorithms
\[
S:\;K\times M\to T,\qquad V:\;K\times M\times T\to\{\mathit{accept},\mathit{reject}\},
\]
with correctness
\[
V(k,m,S(k,m))=\mathit{accept}
\]
with probability \(1\) for every \(k\in K\) and \(m\in M\). The forgery game samples \(k\) from a key distribution, gives the adversary a tag \(t_0=S(k,a)\) on a chosen message \(a\), and asks for a forgery \((b,t_1)\) with \(b\ne a\); the adversary’s advantage is
\[
\mathrm{Adv}[A] \;=\;\Pr\bigl[V(k,b,t_1)=\mathit{accept}\bigr].
\]
The same source defines a perfect MAC as an information-theoretically strong one-time MAC and derives the standard single-query forging bound under uniform keys [2508.09783].

In splitting authentication codes, the source set is \(\mathcal S\), the message set is \(\mathcal M\), and the encoding-rule set is \(\mathcal E\). Encoding is non-deterministic:
\[
m=e(s,r),
\]
and for each \(e\) and \(s\),
\[
e(s):=\{\,m\in\mathcal M:m=e(s,r)\text{ for some }r\in\mathcal R\,\}.
\]
The code is \(c\)-splitting if \(|e(s)|=c\) for every \(e\in\mathcal E\) and every \(s\in\mathcal S\). Perfect secrecy in the Shannon sense is
\[
p_S(s\mid m)=p_S(s)
\]
for every \(s\in\mathcal S\) and every \(m\in\mathcal M\). Spoofing attacks of order \(i\) observe \(i\) distinct authentic messages under the same key and then insert a new message; the deception probability is \(P_{d_i}\) [1112.0038].

The splitting-model notion of perfect authentication is parameterized by spoofing order. For \(0\le i\le t\),
\[
P_{d_i} \ge \min_{e\in\mathcal E}\frac{|M(e)|-i\cdot\max_{s\in\mathcal S}|e(s)|}{|\mathcal M|-i},
\]
and the code is called \(t\)-fold secure against spoofing if equality holds for all \(i=0,1,\dots,t\). A \((t-1)\)-fold secure \(c\)-splitting code must satisfy
\[
|\mathcal E|\ge \frac{{|\mathcal M|\choose t}}{c^t{|\mathcal S|\choose t}},
\]
with equality defining optimality [1112.0038].

## 2. One-time perfect MACs under uniform keys

For uniform keys \(k\leftarrow U\), the 2025 robustness analysis considers the event
\[
E_{b,t_1}:\;S(k,b)=t_1
\]
for a fixed forgery attempt \((b,t_1)\). Under the requirement that the scheme be perfectly secure, there are exactly \(|K|/|T|\) keys mapping a fixed message \(b\) to any single tag value, so
\[
\Pr_{k\leftarrow U}[S(k,b)=t_1]=\frac1{|T|}.
\]
It follows that
\[
\mathrm{Adv}[A]\le \frac1{|T|}.
\]
This is the explicit one-time forging bound stated for the uniform-key case [2508.09783].

That formulation is narrower than the splitting-model literature, because it concerns a single chosen-message query and a single forgery on a different message. It is also narrower than later quantum constructions that claim zero forgery probability under a different resource model. A plausible implication is that “perfect” is not a single invariant definition across authentication theory, but a label attached to model-specific information-theoretic guarantees.

The same source emphasizes that this one-time analysis allows possibly randomized tag generation and unbounded adversaries. The structure is therefore information-theoretic at the level of the authentication game itself, rather than computational or asymptotic [2508.09783].

## 3. Robustness to non-uniform key distributions

A central refinement is the effect of biased keys. Let \(P_K\) be the real key distribution and \(U\) the uniform distribution on \(K\), with statistical distance
\[
\Delta(P_K,U)=\tfrac12\sum_{k\in K}\bigl|P_K(k)-1/|K|\bigr|=\varepsilon.
\]
For a forgery \((b,t_1)\), define
\[
K_{b,t_1}=\{\,k:S(k,b)=t_1\}.
\]
Using a subset-sum bound, the success probability under \(P_K\) satisfies
\[
\Pr_{k\leftarrow P_K}[S(k,b)=t_1]\le \varepsilon+\frac{|K_{b,t_1}|}{|K|}.
\]
Because \(|K_{b,t_1}|/|K|=1/|T|\) in the uniform ideal case, one obtains the general bound
\[
\boxed{\mathrm{Adv}[A]\le \frac1{|T|}+\varepsilon.}
\]
The paper states that the worst-case increase in forgery probability is exactly \(\varepsilon\), and summarizes the conclusion as robustness of perfect MACs to small deviations from a uniform key distribution [2508.09783].

The same source gives two numerical examples. If \(|T|=2^{64}\) and \(\varepsilon=2^{-40}\), then
\[
\mathrm{Adv}[A]\le 2^{-64}+2^{-40}\approx 2^{-40};
\]
if instead \(\varepsilon=2^{-128}\ll 2^{-64}\), then
\[
\mathrm{Adv}[A]\le 2^{-64}+2^{-128}\approx 2^{-64}.
\]
These examples make the dependence on key quality explicit: once \(\varepsilon\gg 1/|T|\), the key-distribution defect dominates the ideal forging term [2508.09783].

The practical recommendations in the same work are correspondingly direct: ensure \(\varepsilon\ll 1/|T|\), apply extractors or “whitening” to reduce bias, periodically test key material for statistical bias, and choose tag length \(\lceil\log_2|T|\rceil\) so that plausible \(\varepsilon\) remains tiny relative to \(1/|T|\) [2508.09783].

## 4. Splitting authentication codes, perfect secrecy, and design theory

In the splitting model, authentication and secrecy are treated jointly. A \(t\)-\((v,b,\ell=cu,\lambda)\) splitting design is a pair \((X,\mathcal B)\) with \(|X|=v\) points and \(b\) blocks, where each block is partitioned into \(u\) disjoint subblocks of size \(c\), and every \(t\)-subset of points lies in exactly \(\lambda\) blocks with the points occupying distinct subblocks. The basic counting relations include
\[
bl=vr,\qquad {v\choose t}\lambda=b\,c^t{u\choose t},
\]
together with divisibility conditions
\[
\lambda {v-s\choose t-s}\equiv 0 \pmod{c^{t-s}{u-s\choose t-s}}
\]
for each \(s\le t\), and a Fisher-type bound \(b\ge v/u\) for \(t\ge 2\) [1112.0038].

The key equivalence is that there exists an optimal \(c\)-splitting authentication code for \(u\) equiprobable source states, \(v\) messages, and
\[
b=\frac{{v\choose t}}{c^t{u\choose t}}
\]
encoding rules, \(t-1\)-fold secure, if and only if there exists a \(t\)-\((v,b,cu,1)\) splitting design. This result turns optimal information-theoretic authentication into a design-existence problem [1112.0038].

For perfect secrecy, the 2011 construction uses cyclic \(2\)-\((v,b,cu,1)\) splitting designs with no short orbit. In that setting, the induced \(b\times u\) encoding matrix is balanced in each column, and each message occurs equally often in each column. If each of the \(b\) keys is used with probability \(1/b\), then Shannon’s condition
\[
p_S(s\mid m)=p_S(s)
\]
follows immediately. The construction therefore yields optimal \(c\)-splitting authentication codes with perfect secrecy in the general case where the number of keys may differ from the number of messages, extending earlier work that covered only the special case \(b=v\) via external difference families [1112.0038].

The same paper gives concrete examples, including a \(2\)-\((17,34,4,1)\) cyclic splitting design generated by the base blocks \(\{\{1,2\},\{3,5\}\}\) and \(\{\{1,2\},\{11,13\}\}\), which yields an optimal one-fold secure \(2\)-splitting authentication code with \(v=17\) messages and \(b=34\) keys. More generally, for \(u=2\) and \(v=2c^2n+1\), it constructs a cyclic \(2\)-\((2c^2n+1,(2c^2n+1)n,2c,1)\) splitting design, hence \(b=(2c^2n+1)n\) keys [1112.0038].

## 5. Group-generated constructions, equitable ordering, and AMD codes

A broader design-theoretic framework is given by group-generated splitting authentication codes. A splitting set system \((V,\mathcal B)\) is group-generated if there is an abelian subgroup \(G\le \mathrm{Aut}(V,\mathcal B)\) whose action on \(V\) is regular. For such systems, the corresponding splitting A-code has perfect secrecy and optimal impersonation probability. If it is \(c\)-splitting, it also meets the standard lower bound on substitution success; if it is generated from an AMD code, then its substitution probability equals the AMD parameter [2104.11076].

This perfect-secrecy result is explained by regularity: each \(t\in V\) occurs equally often in each part \(B(j)\), hence
\[
\Pr(T=t\mid M=s_j)=1/v
\]
for all \(j\). The same paper introduces equitably ordered splitting BIBDs. A \((v,m\times c,1)\)-splitting BIBD is equitably ordered if every point occurs exactly \(r/m\) times in each part, where
\[
r=\frac{v-1}{(m-1)c}.
\]
Such equitable ordering immediately yields perfect secrecy, because for each message-tag pair the number of keys mapping the source to the tag is independent of the source index [2104.11076].

The existence theory is unusually explicit. For example, an equitably ordered \((v,2\times c,1)\)-splitting BIBD exists if and only if
\[
v\equiv 1\pmod{2c^2},
\]
and the solvable pairs listed in the paper include \((k,c)=(3,2),(4,2),(3,3),(3,4)\) as well as all cases with \(k=2\). Additional conditions are
\[
v\equiv 1\pmod{24}\quad\text{for }(3,2),
\]
\[
v\equiv 1\pmod{48}\quad\text{for }(4,2),
\]
\[
v\equiv 1\pmod{54}\quad\text{for }(3,3),
\]
and
\[
v\equiv 1\pmod{96}\quad\text{for }(3,4),
\]
with the stated possible exceptions at \(v=49\) and \(v=55\) in the relevant cases [2104.11076].

The same work establishes a precise correspondence with algebraic manipulation detection codes. The development of a weak \((m,n,\epsilon)\)-AMD code yields a group-generated \((n,n,m)\) splitting set system whose corresponding A-code has perfect secrecy and substitution success \(\le\epsilon\) for uniformly distributed sources; the strong AMD case gives substitution success \(\le\epsilon\) for any source distribution. Conversely, any group-generated symmetric \((v,v,m)\) splitting code with perfect secrecy and substitution success \(\le\epsilon\) gives rise to a strong \((m,v,\epsilon)\)-AMD code by restricting to the block containing a fixed point [2104.11076].

## 6. Alternative realizations and adjacent notions of perfection

One adjacent direction is the artificial-noise-aided MAC. Here a standard deterministic MAC \(t=\hbar(k,s)\) is converted to bipolar form, perturbed by i.i.d. Gaussian noise \(w\sim N(0,\sigma_w^2 I_l)\), and quantized:
\[
\tilde t=\mathcal Q(\bar t+w)\in V^l,\qquad |V|=2^q.
\]
The adversary sees a memoryless channel with transition law
\[
p(\tilde t\mid t)=\prod_{i=1}^l p_{\mathrm{BiAWGN}}(\tilde t_i\mid \bar t_i).
\]
The paper analyzes three performance metrics—completeness error, false acceptance probability, and conditional equivocation about the key—and shows how to balance them. Its information-theoretic bounds include
\[
H(K\mid \tilde T^r)\ge n\Bigl(1-\tfrac{1}{R_c(r)}C_2(\gamma_t)\Bigr),
\]
and when \(R_c(r)>C_2(\gamma_t)\), any ML decoder has \(P_e\to 1\) exponentially in \(rl\). The paper states that “perfect” authentication is approached when \(C_2(\gamma_t)/R_c\ll 1\), \(\beta\ll 1\), and \(\alpha\ll 1\), rather than achieved as an exact finite-model equality [1511.05357].

A second adjacent direction is quantum authentication. The 2020 quantum paper first states that passive prepare-and-measure quantum message-authentication schemes cannot do better than their classical counterparts, and then gives an interactive entanglement-assisted scheme which ideally authenticates an \(n\)-bit classical message with an \(n\)-bit classical key. Alice and Bob share \(n\) EPR pairs and an \(n\)-bit uniformly random classical key, Alice sends a \(2n\)-qubit register, and Bob performs Bell-basis checks. The claimed security objective is exact: for any adversary operation on the transmitted register, the probability that Bob both accepts and outputs \(m'\ne m\) is exactly \(0\). The comparison table in the same source states key length \(2n\) for a classical Wegman–Carter MAC with \(\epsilon=2^{-n}\), versus key length \(n\) for the quantum construction, at the cost of \(n\) ebits and one round of quantum communication [2011.06849].

A third direction removes the shared key entirely. Under a channel model in which Alice’s channel to Bob is strictly less noisy than Eve’s channel to Bob, one can construct a statistically secure authenticated channel of rate
\[
R<\sup_{P_X}\min\{I_P(X;Y),\,I_P(X;Y)-I_Q(X;Y)\}.
\]
The encoder uses random coding, the decoder uses unique jointly \(\epsilon\)-typical decoding, and both decoding error and forgery-acceptance probability vanish exponentially in block length. The same work formulates the result in the Abstract-Cryptography framework, proving composable security by constructing an authenticated channel resource from the noisy real resource without any shared secret key [1804.01797].

Taken together, these variants show that perfect message authentication code is best understood as a family of information-theoretic authentication notions. In some papers it denotes optimal one-time forging resistance under uniform keys; in others it is coupled to perfect secrecy in a splitting code; in still others it denotes zero forgery in a quantum interactive protocol or asymptotically vanishing forgery in a noisy-channel construction. The technical commonality is that authentication guarantees are derived from exact combinatorial balance, channel asymmetry, or quantum correlations, rather than from computational hardness assumptions.

Source: https://www.emergentmind.com/topics/perfect-message-authentication-code