Patent ID: 8347113

Claim:
A mobile electronic device comprising a memory system storing a plurality of programs and a processor that executes one or more operations for the plurality of programs, the programs comprising: a setting module operable to set user-defined numerical ciphers for an electronic file; a reading module operable to read bytes of the electronic file from a cache of the memory system and divide the bytes into a plurality of byte lines, wherein each byte line comprises one or more bytes; an assigning module operable to assign a numerical cipher to each byte line, wherein the numerical ciphers are assigned to consecutive byte lines of the electronic file repetitiously; a searching module operable to search a position of each numerical cipher in a corresponding byte line according to the each numerical cipher; an inserting module operable to insert one or more random bytes into each byte line according to the searched position, so as to encrypt each byte line; and a generating module operable to generate an encrypted electronic file by combining all the encrypted byte lines.