Data encryption and decryption method, device and electronic equipment
A technology for encryption and decryption and data, which is applied in the field of information processing, can solve problems such as low security and easy cracking of encryption and decryption algorithms, and achieve the effect of improving security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] This embodiment provides a data encryption and decryption method, please refer to figure 1 , the method includes:
[0055] Step S101: Encrypt the original encryption and decryption code in advance to obtain the encrypted original encryption and decryption code;
[0056] Step S102: When data needs to be encrypted and decrypted, decrypt the encrypted original encryption and decryption code to obtain the original encryption and decryption code;
[0057]Step S103: Use the original encryption and decryption code to encrypt and decrypt the data.
[0058] In this embodiment of the application, the original encryption and decryption code is a code used to encrypt and decrypt data. There can be one type of original encryption and decryption code, and then all data is encrypted and decrypted according to the same encryption and decryption method. Alternatively, there may be multiple original encryption and decryption algorithms, and then different data are encrypted and decryp...
Embodiment 2
[0111] Based on the same inventive concept as that of Embodiment 1, Embodiment 2 of the present invention provides a device for encrypting and decrypting data. Please refer to figure 2 , the device includes:
[0112] The first preprocessing module 201 is used to perform encryption processing on the original encryption and decryption code in advance, and obtain the encrypted original encryption and decryption code;
[0113] The second preprocessing module 202 is used to decrypt the original encryption and decryption code after the encryption and processing to obtain the original encryption and decryption code when the data needs to be encrypted and decrypted;
[0114] The encryption and decryption module 203 is configured to use the original encryption and decryption code to encrypt and decrypt the data.
[0115] In the data encryption and decryption device provided in this embodiment, the device further includes a conversion module, configured to convert the original encrypt...
Embodiment 3
[0129] Based on the same inventive concept as that of Embodiment 1, Embodiment 3 of the present invention provides an electronic device for data encryption and decryption. Please refer to image 3 , the electronic equipment includes:
[0130] A memory 301, a processor 302, and a computer program 303 stored on the memory and operable on the processor, wherein, when the processor 302 executes the computer program 303, any one of claims 1 to 5 can be realized. the method described.
[0131] It should be noted that the electronic devices involved in this application include but are not limited to: mobile terminals (mobile phones, smart phones, PADs, notebook computers, etc.), fixed terminals (computers).
[0132] For ease of description, only the parts related to the embodiments of the present invention are shown, and for specific technical details not disclosed, please refer to the method part of the embodiments of the present invention. The memory 301 can be used to store comp...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


