Information encryption method

An information encrypting method comprising: the need to expand the encrypted information bit ASCII code according to the information corresponding to each character is L1 bytes, and stored in the array Matrix M × N size [ M] [N], where, M × N = L1 × 8, M, N, L1 are integers; take any random key K, the key length is L2 bytes, sequentially using each of the key K a byte K [I], 0≤I≤L21, bit data byte according to K [I], the array Matrix [M] [N] shift operation; the shifting of the array Matrix [M] [ N] is reduced to L1 bit bytes of data to complete the encryption process. The encryption method of the present invention is not limited key length and length information packets, has a relatively large flexibility in selection algorithm depends entirely on the need to implement, but also increases the difficulty of cracking.