The invention relates to the technical field of information processing, and discloses a data encryption method, a data decryption method and related devices. The data encryption method comprises the steps that to-be-encrypted data is obtained, a block running number is assigned to the to-be-encrypted data, serial numbers are assigned to all characters in the to-be-encrypted data and a stray parameter is assigned to each character; a cyclic redundancy check code of the to-be-encrypted data is calculated, and the following operations are carried out on each character: based on a DES encryption algorithm, a fixed code corresponding to each character is calculated according to the cyclic redundancy check code, block running number, character, and serial number corresponding to the character ofthe to-be-encrypted data, and according to the fixed code and the stray parameter corresponding to the character, the character is encrypted to obtain an encryption character; each encryption character is obtained sequentially, and according to all encryption characters, an encryption block of the to-be-encrypted data is generated. The data encryption method and the data decryption method can effectively prevent leveling data from being damaged and tampered.