Unlock instant, AI-driven research and patent intelligence for your innovation.

File encryption method and device

A file encryption and file technology, applied in the field of data security, can solve problems such as file security issues, and achieve the effect of strengthening security

Inactive Publication Date: 2013-07-10
FUJIAN ETIM INFORMATION & TECH
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the above encryption method preliminarily solves the security problem of the file, due to the simple encryption process, it is easy to decrypt the encrypted file when the encryption key is obtained, which leads to file security problems

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File encryption method and device
  • File encryption method and device
  • File encryption method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The file encryption method in this embodiment can be applied to a smart terminal platform, and can also be specifically applied to a smart phone terminal platform. The file encryption method of this embodiment adopts the encryption method of the underlying hardware SD card, so the file needs to be divided into several blocks according to the structure of the underlying hardware, and any block can be unified according to the structure of the underlying hardware SD card. Divide into a certain number of microblocks of the same size. Encryption of the entire file is achieved by encrypting micro-blocks. At the same time, in view of the unique characteristics of the built-in security database of the intelligent terminal platform, the database can provide reliable guarantee for the security of file information. Therefore, this embodiment uses the built-in security database of the intelligent terminal to save the encryption key and the location code, which ensures that the Enc...

Embodiment 2

[0073] For step 106 in the first embodiment, this embodiment specifically includes the step of encrypting any block in the first block group, as follows:

[0074] refer to figure 2 , figure 2 A flow chart of the method for encrypting the target block (any block) in the first block group, specifically including:

[0075] Step 201: Acquire a second block standard in advance.

[0076] In this embodiment, before encrypting the target block, the second block standard is obtained first. Wherein, the second block criterion determines the size of the micro blocks to be divided into blocks in the subsequent steps. The second blocking standard is determined by the hardware used by the encryption system.

[0077] Step 202: Divide the target block into a second block group according to the second block standard, where the second block group includes at least one micro block.

[0078] In this embodiment, the target sub-block is divided into several micro-blocks, and the size of each...

Embodiment 3

[0091] refer to image 3 , image 3 The device for file encryption provided in this embodiment specifically includes:

[0092] an obtaining module 301, configured to obtain the first block standard in advance;

[0093] a reading module 302, for reading a file;

[0094] A division module 303, configured to divide the file into a first block group according to the first block standard, where the first block group includes at least one block;

[0095] A determination module 304, configured to sequentially determine the first sub-block in the first sub-block group as the target sub-block;

[0096] an allocation module 305, configured to allocate an encryption key to the target block;

[0097] an encryption module 306, configured to encrypt the target block by using the encryption key;

[0098] Judging module 307, for judging whether there is a block that does not execute the encryption process in the first block group;

[0099] The triggering module 308 is configured to, whe...

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

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a file encryption method and a file encryption device, wherein the method comprises the steps of acquiring a first block standard in advance, and reading a file; secondly, dividing the file into a first block group according to the first block standard, wherein the first block group comprises at least one block; thirdly, determining the first block in the first block group to be a target block, and carrying out the encryption process: distributing an encryption key for the target block; encrypting the target block by utilizing the encryption key, determining whether blocks which are not subjected to encryption process exist in the first block group, if so, determining the next block in the target blocks to be a target block sequentially, and continuing to carry out the encryption process until all the blocks in the first block group complete the encryption process. The file encryption method provided by the invention is relevant to hardware at the bottom layer of the encryption system; the file is blocked according to the hardware structure at the bottom layer of the encryption system, and further the encryption process is finished; and compared with the prior art, the file safety is intensified.

Description

technical field [0001] The invention relates to the technical field of data security, in particular to a file encryption method and device. Background technique [0002] In the context of the current mobile Internet, files owned by individuals continue to grow. In view of the current virus security issues on mobile platforms, some files with personal privacy are increasingly required to be properly preserved to avoid file security issues. [0003] In the prior art, file encryption is usually adopted to ensure file security, wherein the file encryption process includes: firstly reading the file to be encrypted, secondly generating an encryption key, and finally, using the generated encryption key to encrypt the file. [0004] Although the above encryption method preliminarily solves the file security problem, due to the simple encryption process, when the encryption key is obtained, the encrypted file can be easily decrypted, thereby causing file security problems. SUMMARY ...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L9/08
Inventor 许元进周红恩刘存青程为豪裴晓波
Owner FUJIAN ETIM INFORMATION & TECH