An encryption method and device

An encryption method and encryption device technology, applied in the field of communication, can solve the problems of large memory space, low encryption efficiency of large files, etc.
CN106941473BActive Publication Date: 2020-05-19CHINA MOBILE COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN Ā· China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM GRP CO LTD
Publication Date
2020-05-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses an encryption method comprising steps of: obtaining the unencrypted ith data block in a first file, wherein the first file is a temporary file into which the data of a file to be downloaded is being written during a downloading process, the ith data block is continuous data not beyond a first preset range in the file to be downloaded, and i is greater than or equal to 1; encrypting the i-th data block; writing the encrypted ith data block into a second file; and ending the encryption process when the first file does not have unencrypted (i+1)th data block. The embodiment of the present invention also discloses an encryption apparatus.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to data processing technology in the communication field, in particular to an encryption method and device. Background technique

[0002] In today's data age, data security has always been a focus of attention in all walks of life. Data encryption is undoubtedly a powerful guarantee for data security. Today, data encryption technology has been widely used in terminals, servers, network communications and other fields, and various encryption algorithms have emerged in an endless stream. For the Android system, the encryption of data in the device mainly includes the following methods in the prior art:

[0003] First, the user partition of the Android terminal device is encrypted by using the information of the used data blocks recorded in the file system of the Android terminal device, so as to avoid encrypting invalid data of the user. Second, the existing Android files are encrypted through the method of dynamic link library i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More