摘要 |
The invention relates to an encipher algorithm on the basis of a secret key, in which use is made of a substitution function, S(n,k), known as S-box, with which a series of n symbols (for example bits) can be replaced by a series of k symbols. On the basis of the secret key, an arbitrary S-box is always generated in order to avoid the use of preselected S-boxes. Such a generation can generally take place in such a way that the substitution result almost certainly does have non-linearity, but not, that it moreover has good statistical properties. These properties will be obtained, either dynamically (figure 1), if the bits of a temporary substitution result (contents of register 3) are moreover combined, via a modulo-2 adder 5, with the bits of a series with a good statistical distribution (contents of register 4) to the proper substitution result (contents of register 6), or statically (figure 2), if a series of n bits (contents of register 2 min ) to be substituted is combined with the k bits of a series with a good statistical distribution (contents of register 4 min ) to a series of n + k bits, which is subsequently substituted by means of a substitution function S{n+k,k} of S-box 1 min . The advantages are that a preselection of S-boxes with good statistical and non-linear properties can be dispensed with, and that the S-boxes always change and consequently are not known, which will benefit the strength of the encipher algorithm.
|