CA2115063C

Nonlinear dynamic substitution devices and methods for block substitutions

Abstract

Method and apparatus for nonlinearizing modulo 2 addition (24) based encryption by block substitution techniques whichallows use of the substitution scheme with relatively simple hardware and yet makes cryptanalysis more difficult. The basic blocksubstitution (22), a one to one mapping of n bit binary numbers onto themselves, is based on the fact that certain permutations ofthe n bit binary numbers define a block substitution by modulo 2 addition (24) of one permuted set of numbers to another, andthat a subset of these define equations having an additive relationship when viewed as vectors. This allows the simple changing ofthe transformation on a frequent basis. Then the equations ace nonlinearized, also in an orderly (34) and readily variable manner,so that the remainder of the set equations may no longer be generated from a limited subset of the equations. Various propertiesof the transformations and methods of using the same are disclosed.

CA2115063C, drawing sheet 1
Sheet 1 of 71

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

5 claims: 1 independent, 4 dependent

  1. 1
    CA 02115063 2000-07-10 115 The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:1. A method of encryption by substituting for any one of the 2n unique clear text blocks of n bit binary numbers an associated unique encrypted block of n bit binary numbers comprising the steps of: (a) finding a first matrix of 2n equations, each equation representing the modulo 2 addition of one of the 2n clear text blocks with a unique one of 2n n bit numbers to provide an associated unique intermediate n bit block, all of the equations in the first matrix of 2n equations being characterized by the vector sum modulo 2 of any number of the equations also being one of the equations in the first matrix, the equations including the null equation Θ φ Θ = Θ and the remaining 2n - 1 equations being orderable as follows : Equation # 1 xm Φ xi = xi-p 2 xi Φ X2 = X2-p j Xj-1 Θ xj = xj~P m Xm-l Φ xm = xm-p where m = 2n - 1 and p is an integer and wherein the vector is constituted by three components corresponding to the three numbers x in each equation;CA 02115063 2000-07-10 116 (b) modifying a plurality of the nonzero 2n - 1 equations in the first matrix of 2n equations to provide a second matrix of 2n equations, the plurality of equations being modified so that the second matrix of equations includes the 2n clear text text blocks x^.j in the same order as the 2n clear text blocks x^ of the first matrix of equations, with the unique set of 2n n bit numbers Xj of the second matrix of equations in different order from that of the unique set of 2n n bit numbers xj of the first matrix of equations, the different order being such that the modulo 2 addition of one of the 2n clear text blocks Xj^ of the second matrix of equations with the corresponding unique n bit block in the reordered unique set 2n n bit numbers Xj of the second matrix of equations provides an associated unique n bit block (xk.p) , wherein each of the modified equations in the plurality is not the sum modulo 2 of any number of the unmodified equations left over and not included in the modified plurality of equations, the second matrix of 2n equations consisting of the modified plurality and the remaining unmodified equations from the first matrix of 2n equations;and, (c) for each clear text block to be encrypted, adding modulo 2 to that block, the unique one of the 2n n bit numbers associated therewith in accordance with the associated equation of the second matrix of 2n equations to obtain the encrypted block. CA 02115063 2000-07-10 117