PRP on bit strings ⇒ Small-domain PRP (prefix cipher)
Statement
Let be a PRP on bit strings with domain , , write , and take the random coins of as the key, so that keys are uniform in for the number of coins. For , which holds for all large when is polynomially bounded and , identify with the first strings of in lexicographic order. The prefix cipher on has the key of and maps to the rank of among ,
in lexicographic order on , with the of rank ; over an ideal cipher is a uniformly random permutation of , and it stays secure when is a PRP — BR02. For every polynomially bounded it is therefore a small-domain PRP, and a strong one: for every against with forward and inverse queries there is a making queries to its oracle, running in the time of plus comparisons of -bit strings, with — standard.
Sketch
queries its oracle at , ranks the answers, and answers every forward and inverse query of from the resulting table. For a uniform permutation of , the tuple is a uniform tuple of distinct values; permuting its positions by any leaves its distribution unchanged and composes its rank vector with , so the ranks form a uniformly random permutation of — standard.
Notes
- Cost: BR02 compute the table once, in time and space, after which enciphering and deciphering are table lookups, and they call the method practical only for small , such as — BR02. With keys of bits and no stored table, each evaluation of or makes calls to — standard.
- For larger domains, BR02 also analyse a cycle-walking cipher, which iterates until the output lands in , and a Feistel network with halves in and for .