Patent ID: 8255701
Filing Date: 2012-08-28
Classification: G06F

Abstract:
1. A file encryption method for device testing files comprising first characters, the file encryption method comprising the following computer implemented steps: (a) setting a first constant and a second constant by a configuration module; (b) converting first one character of a first file in a predetermined order to a first integer, and the first integer to a first binary American Standard Code (ASC) code, which consists of a high level and a low level, by a comparison module; (c) determining whether the high level of the first binary ASC code equals the number 0 by an execution module; (d) performing a logical exclusive OR between the high level and the first constant to obtain a first result if the high level does not equal the number 0, and a logical exclusive OR between the low level and the second constant to obtain a second result, by the execution module; (e) obtaining a second binary ASC code, which consists of the first and second results by the execution module; (f) converting the second binary ASC code to a second integer and the second integer to a second character by the execution module; (g) repeating steps (b), (c), (d), (e), and (f), except that the first character of the first file is changed to the second character in the predetermined order; and (h) obtaining a second file comprising all the second characters by the execution module; wherein the first and second characters comprise of a character that is selected from a group comprising of letters, numbers, punctuations, and symbols; the first and second files are INI files; and a number of times steps (b), (c), (d), (e), and (f) are performed equals the number of the first characters of the first file.