摘要 |
PROBLEM TO BE SOLVED: To provide an encryption method by which a program amount of a computer program, providing a fast encryption speed and high encryption security strength is small, when the encryption algorithm is realized by the program so that the program can easily be installed, even on a mobile phone. SOLUTION: A key stream table [Ks] provides a virtual data space. The data for each byte in a secondary encryption text E2 provide a direction component IR of a vector. Data Ks (IR) in the key stream table [Ks], pointed out by the vector direction component IR, are recognized as a vector quantity. Processing the secondary encryption text E2 , comprising the data of each byte for an address of the key stream table [Ks] enables the secondary encryption text E2 to be recognized as the vector direction component. A logical arithmetic operation is applied to the data Ks (IR) to produce an arithmetic value, and an initial value of an internal vector data V is replaced sequentially by the arithmetic value on bit-by-bit basis. Applying exclusive-OR operation to the internal vector data V and a primary encryption text E1 generates the secondary encryption text E2 .
|