摘要 |
A file encryption method is provided. A first constant and a second constant are set. First one character of the first file is converted in a predetermined order to a first binary ASC code consisting of a high level and a low level. A logical exclusive OR is performed between the high level and the first constant to obtain a first result, and a logical exclusive OR is performed between the high level and the second constant to obtain a second result. A second binary ASC code is obtained. The second binary ASC code is converted to a second character. A second file is obtained.
|