Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for file encryption and decryption

A file encryption and file technology, applied in special data processing applications, program/content distribution protection, instruments, etc., can solve the problem of low security

Inactive Publication Date: 2016-08-24
BEIJING NETQIN TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with full file encryption, it consumes relatively less system resources and is faster, but its disadvantages compared with full file encryption are also quite obvious: relatively low security

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
  • Method and device for file encryption and decryption
  • Method and device for file encryption and decryption
  • Method and device for file encryption and decryption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and unnecessary details and functions for the present invention will be omitted during the description to avoid confusing the understanding of the present invention. Hereinafter, the present invention is described in detail by taking the scenario where the present invention is applied to a wireless mobile communication system as an example. But the present invention is not limited thereto, and the present invention can also be applied to a fixed communication system, a wired communication system, or any hybrid structure of a wireless mobile communication system, a fixed communication system, a wired communication system, and the like. As far as the mobile communication system is concerned, the present invention is not limited to the specific communication protocols of the various mobile communication terminals involved, and may include (but no...

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 invention provides a method and equipment for encrypting and decrypting a file. The method for encrypting the file comprises the steps that a new file header is generated according to the file; a data block is replaced by the new file header; the size of the new file header is the same as that of the data block from a file header; the replaced data block is encrypted by an encrypted key; and the encrypted data block is attached at the tail of the file to generate an encrypted file. The method for decrypting the file comprises the steps that the size of the encrypted data block at the tail of the encrypted file is confirmed according to a file header of the encrypted file; the encrypted data block is intercepted according to the size of the encrypted data block; the intercepted data block is decrypted by a decrypted key; and the file header is replaced by the decrypted data block to generate a decrypted file.

Description

technical field [0001] The present invention relates generally to the field of data encryption, and more particularly to methods and devices for encrypting and decrypting files. Background technique [0002] With the increasing popularity of the Internet, information security has received more and more attention. Important confidential documents are generally encrypted before they are transmitted over the Internet. However, with the popularity of mobile devices, it is inevitable to encrypt and decrypt files on mobile devices with limited processing power (CPU, memory, etc.). [0003] Traditional file encryption can generally be divided into two categories: full file encryption and partial file encryption. As the name implies, full file encryption is processed for the entire file. Its disadvantages are that the encryption efficiency is low, the speed is slow, and consumes a lot of system resources, so it is very unsuitable for mobile devices (such as personal digital assist...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/10G06F17/30
Inventor 程林
Owner BEIJING NETQIN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products