WO2014194828A1 - 一种文件加/解密方法以及文件加/解密装置 - Google Patents
一种文件加/解密方法以及文件加/解密装置 Download PDFInfo
- Publication number
- WO2014194828A1 WO2014194828A1 PCT/CN2014/079167 CN2014079167W WO2014194828A1 WO 2014194828 A1 WO2014194828 A1 WO 2014194828A1 CN 2014079167 W CN2014079167 W CN 2014079167W WO 2014194828 A1 WO2014194828 A1 WO 2014194828A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- encrypted
- important data
- data
- encryption
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/30—Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2107—File encryption
Definitions
- the present invention relates to the field of computer application technologies, and in particular, to a file encryption method and a decryption method corresponding to the file encryption method; the present invention also relates to a file encryption device and a decryption device corresponding to the file encryption device. Background technique
- File encryption is a technique for encrypting data written to a storage medium at the operating system level as required.
- File encryption can be divided into two categories according to the encryption path: one is the file encryption function that comes with the system; the other is the encryption function implemented by the encryption algorithm.
- data encryption refers to the conversion of plaintext to ciphertext through an encryption algorithm and an encryption key, while decryption restores the ciphertext to plaintext through a decryption algorithm and a decryption key.
- the protection of the data is to process the file where the data is located according to an algorithm, so that the file becomes an unreadable piece of code, and the original content of the file can only be displayed after the corresponding key is input to reach the protection.
- File data is not illegally stolen and read. As shown in Figure 1 and Figure 2, the entire file is encrypted and decrypted by inputting a key (Key) to the algorithm.
- the above encryption method encrypts the entire file or folder, and the larger the stored file or folder, the longer it takes to encrypt the file; accordingly, the time taken to decrypt the file is also The longer it will be.
- the encryption method is used. In particular, it cannot meet the needs of users. In this case, it is also considered that when system resources are used in a large number of cryptographic calculations that require a large amount of computing power, the encryption operation also affects the operation of other files, resulting in an overall reduction in system response speed.
- the present invention provides a file encryption and decryption method and an encryption and decryption device, which can meet the user's requirements for file encryption performance and improve the response speed of the system.
- a file encryption method provided by the present invention includes:
- the encrypted information is saved in a designated second location; the encrypted information includes at least the original location of the important data in the source file.
- the invention also provides a file decryption method, which comprises:
- the invention also provides a file encryption device, comprising:
- An encrypter configured to receive the important data selected by the selected device, and encrypt the important data according to the set encryption algorithm
- An encrypted data saver configured to receive the encrypted important data provided by the encryptor, and save the encrypted important data in a designated first location;
- a deleter configured to delete the important data that is not encrypted in the source file
- the encrypted information generation saver is configured to generate the encrypted information according to the above encryption process, and save the encrypted information in the specified second location, the encrypted information including at least the original location of the important data in the source file.
- the invention also provides a file decryption device, comprising:
- Encrypting the file reader, reading the encrypted file, and only the important data in the encrypted file is encrypted;
- An encrypted data reader reading important data in the encrypted file from a specified location; a decryptor for receiving important data read by the encrypted data reader, and using the encrypted important data a decryption algorithm of the encryption algorithm, decrypting the encrypted important data; a decryption data playback device for receiving the encrypted information read by the encrypted information reader, and not encrypting according to the important data provided in the encrypted information
- the original location in the source file put the decrypted important data back into the original location.
- the present invention encrypts the determined important data by selecting important data in the file.
- the encryption operation is only for local encryption of important data in the selected file of the user, instead of encrypting the entire file or folder.
- decrypting it is necessary to know whether there is encrypted important data in the source file, and it is necessary to know the storage of the encrypted data. Location, thus increasing the difficulty of decryption.
- the present invention is only for the encryption of important data portions in the file, so that the data to be encrypted is greatly reduced, the encryption speed and the encryption efficiency can be significantly improved, the amount of encryption operation of the device is reduced, and the device with low data processing capability, such as a mobile terminal.
- FIG. 1 is a schematic diagram of a file encryption method in the prior art
- FIG. 2 is a schematic diagram of a file decryption method in the prior art
- FIG. 3 is a flowchart of an embodiment of a file encryption method provided by the present invention.
- FIG. 4 is a flowchart of an embodiment of a file decryption method provided by the present invention.
- FIG. 5 is a block diagram of an embodiment of a file encryption apparatus provided by the present invention.
- FIG. 6 is a block diagram of an embodiment of a file decryption apparatus provided by the present invention.
- Fig. 7 shows a block diagram of an intelligent electronic device for carrying out the method according to the invention
- Fig. 8 shows a schematic diagram of a storage unit for holding or carrying program code implementing the method according to the invention.
- FIG. 3 is a flowchart of an embodiment of a file encryption method provided by the present invention. In this embodiment, the following steps are included:
- Step S 3 Q Q is the beginning.
- Step S301 is to determine a source file to be encrypted.
- the determination of the source file to be encrypted may be determined based on the importance of the file itself or based on the user's requirements for the importance of the file.
- Step S302 is to determine whether the size of the file is greater than a set threshold.
- the user may perform a different operation according to the comparison result by using a preset threshold, and the threshold may be a file or a folder occupying the memory.
- the capacity value of the capacity When the size of the file is smaller than a preset threshold, the process proceeds to step S303.
- Step S303 directly performs encryption on the entire file, and does not need to encrypt data of a certain part of the file, because, because the space occupied by the file is small, the time for encrypting it is less, so there is no need to pass the selected file. Important data to encrypt.
- the process proceeds to step S304, and the step S304 performs the step of performing the important data in the selected file to specifically encrypt the important data in the selected file, thereby saving The time of encryption and decryption.
- Step S304 selecting important data in the source file
- important data may be data related to the system file; or data selected by the user for financial documents, production files, sales documents, market documents, human resources files, etc.; Is the data of the user's personal files, such as: photos, videos, logs, and so on.
- the method of selecting important data can be implemented in a variety of ways. Only a few examples of specific implementations are provided below for the description of step S304 of the present invention.
- the method of selecting important data in the file is to identify the file type, and select important data located at a fixed position of the file according to the file type.
- File types are also called file formats. Commonly used are JPG, PNG, EXE, COM, BMP, GIF, Li, APE, RMVB, FLV, SWF, TXT, CPP, ASM and so on.
- the file contains information such as code and data.
- the information is stored in the header of the file by segment.
- the header of the file is used to describe the overall structure of the file.
- EXE file its header file generally includes code segment, data segment, stack segment and extended segment, etc.
- the code segment stores the computer's execution instructions, that is, the operation instructions that the CPU should perform; the data segment stores the CPU to use.
- the header information in the JPG file is used to parse the JPG, and the length of the data for parsing the JPG is variable. After encrypting it, other image browsers cannot read normally.
- the PNG file also protects the important information of the file through the file header, and the important information data length of the file header is fixed. After being encrypted, other image browsers will not be able to read normally.
- the file type is determined, the important data is selected in a fixed position of the file according to the file header of the file, and then the important data is encrypted according to the fixed position.
- the method of selecting important data in the file is to receive a user's designation of important data of the file.
- the file is a text file
- the user can designate a page or a paragraph in the text file as important data, encrypt the content of the page by the specified page number, or calculate the paragraph by specifying the initial position and the ending position of the paragraph.
- the area, and by calling the extraction function extracts the important data specified by the user, and encrypts the extracted important data.
- the file is a graphic file
- the user can encrypt the important data after interception by calling a screen capture function by selecting an important part of the graphic in the graphic file.
- Step S305 encrypt the important data according to the set encryption algorithm
- the encryption method can encrypt the important data by using the set key and the encryption algorithm. In fact, there are various ways of encrypting, and details are not described herein.
- Step S306 The encrypted important data is saved in the designated first location
- the specified first location which may be a specified location in the source file, or a specified location of another file, which may be on the ontology side or on the server side. That is, the specified location can be any location, and the first location and the second location may coincide.
- Step S307 deleting unencrypted original data of the above important data from the file
- the original important data in the file is deleted, so that when the original file is opened, the important data portion is invisible, and the leakage of important data is avoided.
- Step S308 The encrypted information is saved in the designated second location, and the encrypted information includes at least the original location of the encrypted important data.
- the specified second location in which the encrypted information is saved may be the source file header.
- the encrypted important data may be encapsulated into an encrypted file together with data other than the important data in the source file, and the source file may be replaced by the encrypted file; or Data other than data is encapsulated as an unencrypted file, and the source file is replaced with the unencrypted file.
- the encryption method provided by the present invention performs key data partial encryption by selecting important data parts in the source file, namely: local encryption
- the method uses a unified encryption method than all source files. It has a better encryption effect, because when decrypting, it is necessary to know whether there is encrypted important data in the source file, and it is necessary to know the storage location of the encrypted data, thereby increasing the difficulty of decryption; in addition, the present invention is only for the file.
- the important data is partially encrypted to improve the encryption efficiency, and the device with low data processing capability can perform the function of performing encryption processing quickly.
- FIG. 4 is a diagram of the present invention. A flow chart of an embodiment of a file decryption method.
- Step S400 is to start decryption
- Step S401 is to read the encrypted encrypted file, in which only important data is encrypted
- Step S402 is to acquire encrypted important data from the first location
- Step S403 is: reading, by the second location, the encrypted information, where the encrypted information includes at least an original location in the important data source file;
- Step S404 is to perform decryption according to the read encrypted information, and place the decrypted important data in an original position of the important data provided by the encrypted information in the source file;
- Step S405 is to save the restored source file.
- the second location may be a specified location of the source file, for example: a source file header. Or the specified location of another file, which may be at the local end or at the server end. If it is in the head of the source file, by decrypting the file header information, obtaining the location of the important data, the original location of the important data, and the encryption method, decryption is performed to obtain the specific content of the important data.
- the user can back up the files encrypted by the above method in a fixed location of the Andro id system, for example: a privacy safe.
- the privacy deposit box will destroy the original file format of the file, and the user can only open the encrypted file normally after logging in to the privacy safe through the preset verification password. If the encrypted file is not found through the privacy deposit box, even if it is found, the encrypted important data cannot be found from the file and the content of the important data is cracked.
- the file encryption and decryption method provided by the present invention does not encrypt the entire file or folder; Important data, encrypting the determined important data, so that the encryption operation only implements local encryption for important data in the selected file of the user, instead of encrypting the entire file or folder, and needs to know whether the source file exists in the decryption. Encrypted important data, and needs to know where the encrypted data is stored, thus increasing the difficulty of decryption.
- the present invention only encrypts important data portions in a file, improves encryption efficiency, and can be implemented for devices with low data processing capabilities. Fast execution of encryption processing.
- FIG. 5 is A block diagram of an embodiment of a file encryption apparatus provided by the present invention. Since the embodiment of the encryption apparatus is basically similar to the embodiment of the encryption method, the description is relatively simple, and the relevant parts can be referred to the description of the embodiment of the encryption method.
- the embodiment of the encryption device described below is merely illustrative.
- a selector 501 configured to select important data in the source file to be encrypted
- an encryptor 502 configured to receive the important data selected by the selected device, and encrypt the important data according to the set encryption algorithm
- the encrypted data saver 503 is configured to receive the encrypted important data provided by the encryptor, and save the encrypted important data in a designated first location
- the deleter 504 is configured to: the unencrypted device in the source file An important data deletion; an encryption information generation and storage 505, configured to generate the encrypted information according to the encryption process, and save the encrypted information in the specified second location, where the encrypted information includes at least the important data in the source file The original location.
- the encapsulator 506 is configured to receive the decrypted data and data other than the important data in the source file, and package them together as a decrypted file, and replace the source file with the decrypted file. Or encapsulating data other than the decrypted important data into an undecrypted file, and replacing the source file with the undecrypted file.
- the selector 501 has a plurality of specific embodiments, and two of the following are schematically shown. These two specific embodiments may be used alone or in combination.
- the first way is: the selector includes: a file type identification sub-unit for identifying a file type and outputting; a selected execution sub-unit for receiving the file type, and selecting an important data according to the file type Located in a fixed location on the file.
- the second way is: the selector includes, a designated unit, receiving a user's designation of important data of the file, and selecting important data in the file accordingly.
- the device further includes: a file size determining unit, configured to determine whether the size of the file is greater than a reserved threshold, and if yes, send a selected start command to the selected device, and the selected device receives the selected After the start command is started, a process of selecting important data in the file is started; if not, an overall encryption command is issued to the encryptor, and after receiving the entire encryption command, the encryptor encrypts the entire file.
- a file size determining unit configured to determine whether the size of the file is greater than a reserved threshold, and if yes, send a selected start command to the selected device, and the selected device receives the selected After the start command is started, a process of selecting important data in the file is started; if not, an overall encryption command is issued to the encryptor, and after receiving the entire encryption command, the encryptor encrypts the entire file.
- FIG. 6 is a block diagram of an embodiment of a file decryption apparatus provided by the present invention.
- the encrypted file reader 601 reads the encrypted file, and only the important data in the encrypted file is encrypted.
- the encrypted information reader 602 reads the encrypted information from the specified location, the encrypted information including at least the original location of the important data in the unencrypted source file;
- the encrypted data reader 603 reads the important data in the encrypted file from the specified location; the decryptor 604 is configured to receive the important data read by the encrypted data reader, and use the corresponding encrypted a decryption algorithm of the encryption algorithm of the data, decrypting the encrypted important data; and a decryption data playback unit 605, configured to receive the encrypted information read by the encrypted information reader, and according to the provided information in the encrypted information
- the important data is in the original location in the unencrypted source file, and the decrypted important data is returned to the original location.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the visual graphics code processed by the mobile terminal in accordance with embodiments of the present invention.
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- a program implementing the present invention may be stored on a computer readable medium or may have the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- FIG. 7 illustrates an intelligent electronic device that can implement a file encryption method and a method of encrypting the same according to the present invention.
- the intelligent electronic device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
- Memory 720 can be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above.
- storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG.
- the storage unit may have a storage section or a storage space or the like arranged similarly to the storage 720 in the intelligent electronic device of FIG.
- the program code can for example Program 731, that is, code that can be read by, for example, a processor such as 710, when executed by the intelligent electronic device, causes the intelligent electronic device to perform various steps in the methods described above.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
提供了一种文件加密及解密方法以及加密及解密装置,所述加密方法包括:确定待加密的源文件;选定源文件中的重要数据;根据设定的加密算法对重要数据执行加密;在指定的第一位置,保存加密后的重要数据;从源文件中删除未加密的重要数据;将加密信息保存在指定的第二位置;加密信息至少包括所述重要数据在源文件中的原始位置;相对于该加密方法还提供了解密方法,以及加密及解密装置,由于实现局部加密,当解密时需要知道源文件中是否存在加密的重要数据,且需要知道该加密数据的存放位置,因此增加了解密的难度。
Description
一种文件加 /解密方法以及文件加 /解密装置
技术领域
本发明涉及计算机应用技术领域,特别是涉及一种文件加密方法及与该文 件加密方法相应的解密方法;本发明同时涉及一种文件加密装置及与该文件加 密装置相应的解密装置。 背景技术
文件加密是一种根据要求在操作系统层对写入存储介质的数据进行加密 的技术。
文件加密按加密途径可分为两类: 一类是系统自带的文件加密功能; 一类 是釆用加密算法实现的加密功能。
一般情况下, 对数据加密是指通过加密算法和加密密钥将明文转变为密 文, 而解密则是通过解密算法和解密密钥将密文恢复为明文。 具体地, 对数据 的保护是将数据所在的文件,按照某种算法进行处理,使该文件成为不可读的 一段代码, 只能在输入相应的密钥以后才能显示出文件本来内容, 以到达保护 文件数据不被非法窃取和阅读的目的。如图 1和图 2所示,都是通过向算法中输 入密钥 (Key ) , 来实现对整个文件的加密与解密。
另外, 随着人们对个人隐私的保护日渐重视,越来越多的人需要的对自己 的私人文件进行保护, 尤其是随着智能移动终端的盛行, 该终端不在只是一个 简单的通信工具,里面可能保存各种重要文件, 当对该些重要文件进行加密时 通常釆用的方式是, 先选定需要加密的文件或者文件夹,之后通过系统设定的 加密按键进行加密, 以保证数据信息的安全。
可以了解的是, 上述的加密方法是对整个文件或文件夹加密,存储的文件 或文件夹越大, 对其加密所需要花费的时间就越长; 相应地, 对文件解密所花 费的时间也会越长。当用户对文件加密处理方式在加密处理能力方面的性能要 求较高,而所使用的设备的运算能力又比较低时 --例如在移动终端中对其中拍 摄的照片进行加密一则该种加密方式尤其不能满足用户的需求。 在这种情况 下,还要考虑到,当系统资源被大量用于需要占用大量运算能力的加密计算时, 加密操作还会影响其它文件的运行, 导致系统响应速度的整体降低。
如何提供一种文件加密及解密方法以及加密及解密装置,在有效实现用户 对文件加密方式高性能要求的同时, 又不至于影响系统的响应速度, 成为亟待
解决的问题。 发明内容
为解决上述技术问题,本发明提供一种文件加密及解密方法以及加密及解 密装置,能够符合用户对文件加密性能要求的同时,还提高了系统的响应速度。
本发明提供的一种文件加密方法, 包括:
确定待加密的源文件;
选定源文件中的重要数据;
根据设定的加密算法对所述重要数据执行加密;
在指定的第一位置, 保存加密后的所述重要数据;
从所述源文件中删除未加密的所述重要数据;
将加密信息保存在指定的第二位置;所述加密信息至少包括所述重要数据 在源文件中的原始位置。
本发明同时提供一种文件解密方法, 包括:
读取已加密的加密文件, 该已加密的加密文件中, 仅重要数据被加密; 从第一位置获取已加密重要数据;
通过第二位置读取加密信息,该加密信息至少包括所述重要数据源文件中 的原始位置; ;
根据加密信息执行解密,并将解密后的重要数据放在所述加密信息所提供 的所述重要数据在源文件中的原始位置;
保存还原后的源文件。
本发明同时提供一种文件加密装置, 包括:
选定器, 用于选定待加密源文件中的重要数据;
加密器, 用于接收所述选定器选定的重要数据, 并根据设定的加密算法对 所述重要数据加密;
加密数据保存器,用于接收所述加密器提供的加密后的重要数据,将上述 加密后的重要数据保存在指定的第一位置;
删除器, 用于将源文件中未加密的所述重要数据删除;
加密信息生成保存器, 用于根据上述加密过程生成加密信息, 并将该加密 信息保存在所述指定第二位置,所述加密信息至少包括所述重要数据在源文件 中的原始位置。
本发明同时提供一种文件解密装置, 包括:
加密文件读取器,读取已加密文件,且该已加密的文件中仅重要数据被加 密;
加密信息读取器,从指定位置读取加密信息,该加密信息至少包括重要数 据在未加密的源文件中的原始位置;
加密数据读取器, 从指定位置读取所述已加密文件内的重要数据; 解密器, 用于接收所述加密数据读取器读取的重要数据, 并使用对应所述 加密后重要数据的加密算法的解密算法, 对所述加密后的重要数据解密; 解密数据回放器,用于接收所述加密信息读取器读取的加密信息, 并根据 加密信息中的提供的重要数据在未加密的源文件中的原始位置,将解密后的重 要数据放回所述原始位置。
根据本发明提供的一种文件加密及解密方法以及加密及解密装置的具体 实现方法, 本发明公开了以下技术效果: 本发明通过选定文件中的重要数据, 对所述确定的重要数据加密,使得加密操作仅针对于用户选定文件中重要数据 实现局部加密, 而不是对整个文件或文件夹加密, 当解密时需要知道源文件中 是否存在加密的重要数据,且需要知道该加密数据的存放位置, 因此增加了解 密的难度。 另外, 本发明仅是针对文件中重要数据部分加密, 使需要加密的数 据大幅度减少, 可以明显提高加密速度和加密效率, 减少设备加密运算量, 使 数据处理能力较低的设备一例如移动终端一可以快速执行加密处理。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明中记载的一些实施例, 对于本领域普通技术人员来讲, 还可以根据这些附图获得其他的附图。
图 1是现有技术中文件加密方法的示意图;
图 2是现有技术中文件解密方法的示意图;
图 3是本发明提供的一种文件加密方法实施例的流程图;
图 4是本发明提供的一种文件解密方法实施例的流程图;
图 5是本发明提供的一种文件加密装置实施例的框图;
图 6是本发明提供的一种文件解密装置实施例的框图;
图 7示出了用于执行根据本发明的方法的智能电子设备的框图; 以及 图 8示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单 元示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员所获得的所有其 他实施例, 都属于本发明保护的范围。
请参阅图 3, 其为本发明提供的一种文件加密方法实施例的流程图。 在本 实施例中, 包括如下步骤:
步骤 S 3 Q Q是开始。
步骤 S 301是确定待加密的源文件。
该确定待加密的源文件可以是根据文件自身的重要性来确定,或者根据用 户对文件重要性的要求来确定。
步骤 S 302是判断文件的大小是否大于设定的阔值。
在此步骤中, 当确定待加密的源文件后, 可以通过预先设定的阔值, 与源 文件大小比对,根据比对结果执行不同的操作, 该阔值可以是文件或文件夹占 用内存容量的容量值。 当所述文件的大小小于预先设定的阔值, 则进入步骤 S 303。
步骤 S 303是直接执行对整个文件加密, 无需对文件中某一部分的数据加 密, 因为, 由于文件所占内存的空间较小, 对其加密的时间花费的也少, 所以 无需再通过选定文件重要数据来加密。反之,如果文件的大小大于预先设定的 阔值, 则进入步骤 S 304, 步骤 S 304执行选定文件中的重要数据的步骤, 有针对 性的对选定文件中的重要数据加密, 进而节省加密和解密的时间。
步骤 S 304 : 选定源文件中的重要数据;
在具体实现本步骤的过程中, 重要数据可以是涉及系统文件内的数据; 或 者是用户选定的财务文件、 生产文件、 销售文件、 市场文件、 人力资源文件等 内的数据; 重要数据还可以是用户个人文件的数据, 例如: 照片、 视频、 日志 等等。 重要数据的选定方法可以有多种方式实现, 下面仅给出几种具体实现方 式的示例, 用以对本发明步骤 S 304的说明。
(一)选定源文件中的重要数据的第一具体实现方式:
所述选定文件中的重要数据的方法,是识别文件类型, 并根据文件类型选 定重要数据位于该文件的固定位置。 文件类型也称之为文件格式, 常用的有 JPG , PNG , EXE , COM, BMP , G I F , 丽, APE , RMVB , FLV , SWF , TXT , CPP , ASM 等等。 文件中包含有代码和数据等信息, 该些信息是按段保存在文件头部, 文 件头部用来描述文件的总体结构。 比如: EXE文件, 其头部文件一般包括代码 段、 数据段、 堆栈段和扩展段等等, 代码段存放了计算机的执行指令, 即 CPU 要进行的操作指令; 数据段存放了 CPU要用到的数据; 堆栈段则存放了与寄存
器有关的信息等等。 JPG文件中的头部信息用来解析 JPG, 而对于解析 JPG的数 据长度可变, 对其加密后, 其他图片浏览器将无法正常读取。 PNG文件同样也 是通过文件头保护文件重要信息, 而该文件头的重要信息数据长度固定,对其 加密后, 其他图片浏览器也将不能正常读取。 当确定了文件类型之后, 根据该 文件的文件头部来选定重要数据位于该文件的固定位置,之后根据所述固定位 置对该些重要数据加密。
(二)选定源文件中的重要数据的第二具体实现方式:
所述选定文件中的重要数据的方法, 是接收用户对文件重要数据的指定。 若所述文件为文本文件,则用户可以将文本文件中的某页或某个段落指定为重 要数据,通过指定的页码对该页内容加密或通过指定段落的初始位置和结束位 置计算出段落的区域, 并通过调用提取函数, 提取出用户指定的重要数据, 并 对提取的重要数据加密。如果所述文件为图形文件, 则用户可以将选取图形文 件中图形的某一处或多处的重要部分,通过调用截屏函数,对截取后的重要数 据加密。
步骤 S 305 : 根据设定的加密算法对所述重要数据加密;
对提取出的重要数据加密,加密方法可以通过设定的密钥,釆用加密算法, 对重要数据加密, 实际上在加密的方式可以有多种, 在此不再赘述。
步骤 S 306: 将上述加密后的重要数据保存在指定的第一位置;
重要数据加密后,将其保存在指定的第一位置,该第一位置可以是所述源 文件中指定位置, 或另一个文件的指定位置, 该指定位置可以是在本体端或者 在服务器端。 也就是说, 指定的位置可以是任意位置, 且第一位置和第二位置 可能重合。
步骤 S 307: 从文件中删除上述重要数据的未经加密的原始数据;
在保存加密的重要数据后,将文件中原始的重要数据删除,从而使得在打 开原始文件时, 其中重要数据部分为不可见, 避免了重要数据的泄露。
步骤 S 308 : 将加密信息保存在指定的第二位置,该加密信息至少包括加密 后重要数据的原始位置。所述加密信息保存的指定的第二位置可以为源文件头 部。
另外,还可以将加密后的所述重要数据与所述源文件中重要数据以外的数 据一起封装为加密文件, 并以所述加密文件替换所述源文件; 或者, 仅将所述 加密后重要数据以外的数据封装为未加密文件,并以所述未加密文件替换所述 源文件。
由于本发明提供的加密方法是通过选定源文件中重要数据部分,进行重要 数据部分加密, 即: 局部加密, 使得该方法比全部源文件釆用统一的加密方式
具有更好的加密效果, 因为, 当解密时需要知道源文件中是否存在加密的重要 数据, 且需要知道该加密数据的存放位置, 因此增加了解密的难度; 另外, 本 发明仅是针对文件中重要数据部分加密,提高加密效率、 并且对于数据处理能 力较低的设备可以实现快速执行加密处理的功能。
以上公开了本发明一种文件加密方法的实施例,与所述加密方法实施例相 对应, 本发明还公开了一种用于文件解密方法的实施例, 请参看图 4, 图 4为本 发明一种文件解密方法实施例流程图。
步骤 S400是开始解密;
步骤 S401是读取已加密的加密文件, 该已加密的加密文件中,仅重要数据 被加密;
步骤 S402是从第一位置获取已加密重要数据;
步骤 S403是通过第二位置读取加密信息,该加密信息至少包括所述重要数 据源文件中的原始位置;
步骤 S404是根据读取的加密信息执行解密,并将解密后的重要数据放在所 述加密信息所提供的所述重要数据在源文件中的原始位置;
步骤 S405是保存还原后的源文件。
上述步骤是根据加密方法中在文件指定的第二位置存储的加密信息实现, 该第二位置可以是所述源文件的指定位置, 例如: 源文件头部。 或者是另一文 件的指定位置, 所述的指定位置可以是在本地端或者在服务器端。如果是在源 文件头部, 解密时通过读取文件头部信息, 获取重要数据的保存位置、 重要数 据的原始位置和加密方法等信息, 实现解密, 获得重要数据的具体内容。
当上述加密方法应用在 Andr 0 i d平台时, 用户可以将经上述方法加密后的 文件备份在 Andro id系统的固定位置, 例如: 隐私保险箱。 文件放入之后, 该 隐私保险箱会将该文件原有的文件格式破坏,用户只有通过预先设定的验证密 码登陆隐私保险箱后, 才能正常打开加密文件。如果不是通过隐私保险箱的方 式查找加密文件,即使查找到也无法从文件中找到加密的重要数据并破解该重 要数据的内容。
上述为本发明提供的一种文件加密及解密方法的具体实现方法,通过上述 可以看出,本发明提供的文件加密及解密方法,并非对整个文件或文件夹加密; 而是通过选定文件中的重要数据,对所述确定的重要数据加密,使得加密操作 仅针对于用户选定文件中重要数据实现局部加密,而不是对整个文件或文件夹 加密, 当解密时需要知道源文件中是否存在加密的重要数据,且需要知道该加 密数据的存放位置, 因此增加了解密的难度。 另外, 本发明仅是针对文件中重 要数据部分加密,提高加密效率、 并且对于数据处理能力较低的设备可以实现
快速执行加密处理的功能。
通过上述公开的本发明一种文件加密及解密方法的实施例,与所述方法实 施例相对应的, 本发明还公开了一种文件加密及解密装置实施例,请参看图 5, 图 5是本发明提供的一种文件加密装置实施例的框图。 由于该加密装置实施例 基本相似于加密方法的实施例, 所以描述得比较简单,相关之处参见加密方法 实施例的部分说明即可。 下述描述的加密装置实施例仅仅是示意性的。
所述加密装置实施例包括:
选定器 501, 用于选定待加密源文件中的重要数据; 加密器 502, 用于接收 所述选定器选定的重要数据, 并根据设定的加密算法对所述重要数据加密; 加 密数据保存器 503, 用于接收所述加密器提供的加密后的重要数据, 将上述加 密后的重要数据保存在指定的第一位置; 删除器 504, 用于将源文件中未加密 的所述重要数据删除; 加密信息生成保存器 505, 用于根据上述加密过程生成 加密信息, 并将该加密信息保存在所述指定第二位置, 所述加密信息至少包括 所述重要数据在源文件中的原始位置。
另外, 包括封装器 506用于接收解密后的所述重要数据以及源文件中所述 重要数据以外的数据, 并将它们一起封装为解密后文件, 并以该解密后的文件 替换所述源文件; 或者将所述解密后重要数据以外的数据封装为未解密文件, 并以所述未解密文件替换所述源文件。
选定器 501有多种具体实施方式, 下面示意性的给出两种, 这两种具体实 施方式可以单独使用, 也可以结合使用。
第一种方式是: 所述选定器包括, 文件类型识别子单元, 用于识别文件类 型并输出; 选定执行子单元, 用于接收所述文件类型, 并根据文件类型选定重 要数据所位于该文件的固定位置。
第二种方式是: 所述选定器包括, 指定单元, 接收用户对文件重要数据的 指定, 并据此选定文件中的重要数据。
可选的, 该装置进一步包括: 文件大小判断单元, 用于判断文件的大小是 否大于预订的阔值, 若是, 则向所述选定器发送选定启动指令, 所述选定器接 收该选定启动指令后, 启动对文件中的重要数据进行选定的过程; 若否, 则向 加密器发出整体加密指令, 所述加密器接收到该整体加密指令后, 对整个文件 进行加密。
请参看图 6, 图 6是本发明提供的一种文件解密装置实施例的框图。
所述解密装置实施例包括:
加密文件读取器 601, 读取已加密文件, 且该已加密的文件中仅重要数据 被力口密
加密信息读取器 602, 从指定位置读取加密信息, 该加密信息至少包括重 要数据在未加密的源文件中的原始位置;
加密数据读取器 603, 从指定位置读取所述已加密文件内的重要数据; 解密器 604, 用于接收所述加密数据读取器读取的重要数据, 并使用对应 所述加密后重要数据的加密算法的解密算法, 对所述加密后的重要数据解密; 解密数据回放器 605, 用于接收所述加密信息读取器读取的加密信息, 并 才艮据加密信息中的提供的重要数据在未加密的源文件中的原始位置,将解密后 的重要数据放回所述原始位置。
以上对本发明所提供的文件加密及解密方法以及加密及解密装置进行了 二实施例的说明只是用于 助 解本发明的方法及其 心思^、; 同时:对于本 领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会 有改变之处。 综上所述, 本说明书内容不应理解为对本发明的限制。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器 上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实 施例的移动终端处理可视化图形编码中的一些或者全部部件的一些或者全部 功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设 备或者装置程序(例如, 计算机程序和计算机程序产品)。 这样的实现本发明 的程序可以存储在计算机可读介质上, 或者可以具有一个或者多个信号的形 式。 这样的信号可以从因特网网站上下载得到, 或者在载体信号上提供, 或者 以任何其他形式提供。
例如, 图 7示出了可以实现根据本发明的文件加密方法及与该文件加密 的方法的智能电子设备。 该智能电子设备传统上包括处理器 710和以存储器 720形式的计算机程序产品或者计算机可读介质。 存储器 720可以是诸如闪 存、 EEPROM (电可擦除可编程只读存储器) 、 EPROM、 硬盘或者 ROM之 类的电子存储器。存储器 720具有用于执行上述方法中的任何方法步骤的程 序代码 731的存储空间 730。 例如, 用于程序代码的存储空间 730可以包括分 别用于实现上面的方法中的各种步骤的各个程序代码 731。这些程序代码可 以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算 机程序产品中。 这些计算机程序产品包括诸如硬盘, 紧致盘 (CD ) 、 存储 卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图 8 所述的便携式或者固定存储单元。该存储单元可以具有与图 7的智能电子设 备中的存储器 720类似布置的存储段或者存储空间等。程序代码可以例如以
的程序 731,, 即可以由例如诸如 710之类的处理器读取的代码, 这些代码当 由智能电子设备运行时, 导致该智能电子设备执行上面所描述的方法中的 各个步骤。
Claims
1、 一种文件加密方法, 其特征在于, 包括:
确定待加密的源文件;
选定源文件中的重要数据;
根据设定的加密算法对所述重要数据执行加密;
在指定的第一位置, 保存加密后的所述重要数据;
从所述源文件中删除未加密的所述重要数据;
将加密信息保存在指定的第二位置;所述加密信息至少包括所述重要数据 在源文件中的原始位置。
2、 根据权利要求 1所述的文件加密方法, 其特征在于, 包括: 将加密后的 所述重要数据与所述源文件中重要数据以外的数据一起封装为加密文件,并以 所述加密文件替换所述源文件。
3、 根据权利要求 1所述的文件加密方法, 其特征在于, 包括: 将所述加密 后重要数据以外的数据封装为未加密文件,并以所述未加密文件替换所述源文 件。
4、根据权利要求 1所述的文件加密方法,其特征在于,所述加密信息包括: 所述重要数据在源文件中的存储空间和 /或存储位置和 /或加 /解密算法。
5、根据权利要求 1所述的文件加密方法, 所述第一位置和第二位置是所述 源文件的指定位置, 或另一个文件的指定位置, 该指定位置是本地或服务器; 所述本地为移动终端或者其它计算设备。
6、根据权利要求 1所述的文件加密方法, 所述重要数据为影响源文件正常 打开的数据、和 /或用户指定的数据、和 /或源文件中实质内容的全部或部分数 据。
7、根据权利要求 1所述的文件加密方法, 所述选定源文件重要数据为用户 指定的数据时; 此种情况下, 若所述源文件为文本文件, 则为用户指定的文本 中重要段落; 若所述源文件为图形文件, 则为用户指定的图形中重要区域。
8、 根据权利要求 1所述的文件加密方法, 所述选定源文件中的重要数据, 其方法为: 识别源文件的文件类型, 并根据文件类型获取所述重要数据在源文 件中的原始位置。
9、根据权利要求 1所述的文件加密方法, 首先判断所述源文件的大小是否 大于设定的阔值, 若是, 则进入选定源文件中的重要数据的步骤; 若否, 则直 接将源文件的所有数据作为所述重要数据。
10、 一种文件解密方法, 其特征在于, 包括:
读取已加密的加密文件, 该已加密的加密文件中, 仅重要数据被加密;
从第一位置获取已加密重要数据;
通过第二位置读取加密信息,该加密信息至少包括所述重要数据源文件中 的原始位置;
根据加密信息执行解密,并将解密后的重要数据放在所述加密信息所提供 的所述重要数据在源文件中的原始位置;
保存还原后的源文件。
11、根据权利要求 10所述的解密方法, 识别文件的类型, 并根据文件类型 获取所述加密文件的第一位置。
12、 一种文件加密装置, 其特征在于, 包括:
选定器, 用于选定待加密源文件中的重要数据;
加密器, 用于接收所述选定器选定的重要数据, 并根据设定的加密算法对 所述重要数据加密;
加密数据保存器,用于接收所述加密器提供的加密后的重要数据,将上述 加密后的重要数据保存在指定的第一位置;
删除器, 用于将源文件中未加密的所述重要数据删除;
加密信息生成保存器, 用于根据上述加密过程生成加密信息, 并将该加密 信息保存在所述指定第二位置,所述加密信息至少包括所述重要数据在源文件 中的原始位置。
13、 根据权利要求 12所述的文件加密装置, 其特征在于, 包括: 封装器,用于接收解密后的所述重要数据以及源文件中所述重要数据以外 的数据, 并将它们一起封装为解密文件, 并以该解密文件替换所述源文件; 或 者将所述解密后重要数据以外的数据封装为未解密文件,并以所述未解密文件 替换所述源文件。
14、根据权利要求 12所述的文件加密装置,其特征在于,所述选定器包括: 文件类型识别子单元, 用于识别源文件类型并输出;
选定执行子单元,用于接收所述源文件类型, 并根据所述文件类型选定重 要数据所位于该源文件的原始位置和 /或重要数据的加密算法。
15、根据权利要求 12所述的文件加密装置,其特征在于,所述选定器包括: 文件类型识别子单元, 用于识别源文件类型并输出;
指定单元,接收用户根据所述文件类型对源文件中重要数据的指定, 并据 此选定源文件中的重要数据。
16、根据权利要求 12所述的文件加密装置, 包括判断单元, 用于判断文件 的大小是否大于设定的阔值, 若是, 则向所述选定器发送选定启动指令, 所述 选定器接收该选定启动指令后, 启动对文件中的重要数据进行选定的过程; 若
否, 则向加密器发出整体加密指令, 所述加密器接收到该整体加密指令后, 对 整个文件进行加密。
17、 一种文件解密装置, 其特征在于, 包括:
加密文件读取器,读取已加密文件,且该已加密的文件中仅重要数据被加 密;
加密信息读取器,从指定位置读取加密信息,该加密信息至少包括重要数 据在未加密的源文件中的原始位置;
加密数据读取器, 从指定位置读取所述已加密文件内的重要数据; 解密器, 用于接收所述加密数据读取器读取的重要数据, 并使用对应所述 加密后重要数据的加密算法的解密算法, 对所述加密后的重要数据解密; 解密数据回放器,用于接收所述加密信息读取器读取的加密信息, 并根据 加密信息中的提供的重要数据在未加密的源文件中的原始位置,将解密后的重 要数据放回所述原始位置。
18、 一种计算机程序, 包括计算机可读代码, 当智能电子设备运行所述计 算机可读代码运行时,导致权利要求 1-11中的任一项权利要求所述的方法被执 行。
19、 一种计算机可读介质, 其中存储了如权利要求 18所述的计算机程序。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/896,299 US20160117518A1 (en) | 2013-06-07 | 2014-06-04 | File Encryption/Decryption Device And File Encryption/Decryption Method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310226540.7 | 2013-06-07 | ||
| CN2013102265407A CN103294961A (zh) | 2013-06-07 | 2013-06-07 | 一种文件加/解密方法以及文件加/解密装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014194828A1 true WO2014194828A1 (zh) | 2014-12-11 |
Family
ID=49095803
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/079167 Ceased WO2014194828A1 (zh) | 2013-06-07 | 2014-06-04 | 一种文件加/解密方法以及文件加/解密装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20160117518A1 (zh) |
| CN (1) | CN103294961A (zh) |
| WO (1) | WO2014194828A1 (zh) |
Families Citing this family (29)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103294961A (zh) * | 2013-06-07 | 2013-09-11 | 北京奇虎科技有限公司 | 一种文件加/解密方法以及文件加/解密装置 |
| CN105426701B (zh) * | 2014-09-23 | 2018-05-18 | 北大方正集团有限公司 | 电子书加密和离线阅读方法及装置、电子书版权保护系统 |
| US9886436B2 (en) * | 2014-11-06 | 2018-02-06 | Accenture Global Services Limited | Conversion of documents of different types to a uniform and an editable or a searchable format |
| CN105611318A (zh) * | 2014-11-25 | 2016-05-25 | 上海天脉聚源文化传媒有限公司 | 一种视频加密播放方法及系统 |
| CN104615944A (zh) * | 2015-01-09 | 2015-05-13 | 天脉聚源(北京)科技有限公司 | 一种加密文件和解密文件的方法和装置 |
| CN104680077B (zh) * | 2015-01-20 | 2021-10-12 | 中兴通讯股份有限公司 | 一种加密图片的方法、查看图片的方法、系统和终端 |
| CN107153794B (zh) * | 2016-03-03 | 2020-07-21 | 腾讯科技(深圳)有限公司 | 文件加密方法和装置、文件解密方法和装置 |
| CN107180199A (zh) * | 2016-03-11 | 2017-09-19 | 杭州与云网络有限公司 | 一种医疗影像互联网加密存储方法 |
| JP6729013B2 (ja) * | 2016-06-07 | 2020-07-22 | 富士ゼロックス株式会社 | 情報処理システム、情報処理装置及びプログラム |
| CN106372517A (zh) * | 2016-08-30 | 2017-02-01 | 北京小米移动软件有限公司 | 文件的加密方法、解密方法、装置及设备 |
| CN106375084A (zh) * | 2016-10-14 | 2017-02-01 | 郑州云海信息技术有限公司 | 一种数据加密方法及装置 |
| CN106657009A (zh) * | 2016-11-14 | 2017-05-10 | 平安科技(深圳)有限公司 | 资源包加密方法、资源包解密方法及装置 |
| CN107666479A (zh) * | 2017-08-02 | 2018-02-06 | 上海壹账通金融科技有限公司 | 信息加密解密方法、装置、计算机设备和存储介质 |
| TW201915810A (zh) * | 2017-09-25 | 2019-04-16 | 英屬維爾京群島商伊格拉斯控股有限公司 新竹市新安路5號4樓之1 107,206室 | 一種對電子檔進行保護的方法;以及完成該方法的電腦程式產品 |
| CN110069933B (zh) * | 2018-01-22 | 2022-02-18 | 北大方正集团有限公司 | 文件处理方法和装置 |
| CN108664803B (zh) * | 2018-04-04 | 2022-03-22 | 中国电子科技集团公司第三十研究所 | 一种基于密码的文档内容细粒度访问控制系统 |
| CN109635574A (zh) * | 2018-11-14 | 2019-04-16 | 李炜哲 | 一种云存储系统中的文件加解密方法、系统及存储介质 |
| CN109670323A (zh) * | 2018-12-10 | 2019-04-23 | 金瓜子科技发展(北京)有限公司 | 一种文件加密方法、解密方法及装置 |
| CN109767516B (zh) * | 2018-12-14 | 2021-06-11 | 汉海信息技术(上海)有限公司 | 日志设置和打印方法、设置和打印设备、及日志系统 |
| CN110135179A (zh) * | 2019-05-13 | 2019-08-16 | 周星妤 | 一种会计凭证加密方法以及解密方法 |
| US11418493B2 (en) * | 2019-08-07 | 2022-08-16 | Bank Of America Corporation | Identifying and securing unencrypted data in a production environment |
| WO2021208014A1 (zh) * | 2020-04-16 | 2021-10-21 | 华为技术有限公司 | 用于执行加解密处理的装置及方法 |
| CN112416450B (zh) * | 2020-06-05 | 2023-02-17 | 上海哔哩哔哩科技有限公司 | 资源加密及展示方法及系统 |
| CN112055022A (zh) * | 2020-09-09 | 2020-12-08 | 浪潮卓数大数据产业发展有限公司 | 一种高效率高安全性的网络文件传输双重加密方法 |
| CN113032345A (zh) * | 2021-03-26 | 2021-06-25 | 北京字节跳动网络技术有限公司 | 文件处理的方法、装置、终端及非暂时性存储介质 |
| CN113781268A (zh) * | 2021-09-01 | 2021-12-10 | 北京优炫软件股份有限公司 | 一种证据文件流转用加密和防篡改方法 |
| CN116150786B (zh) * | 2023-01-10 | 2023-11-28 | 深圳技术大学 | 基于指令密匙自行设定的u盘文件加密系统 |
| EP4506843A1 (en) * | 2023-08-08 | 2025-02-12 | Intel Corporation | Methods and apparatus for container deployment in a network-constrained environment |
| CN116861469B (zh) * | 2023-09-05 | 2023-12-12 | 河北比穆建筑科技有限公司 | 一种revit文件的加密方法、系统、终端及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101667162A (zh) * | 2008-09-02 | 2010-03-10 | 英业达股份有限公司 | 文件加解密系统及其方法 |
| CN102254127A (zh) * | 2011-08-11 | 2011-11-23 | 华为技术有限公司 | 文件的加密和解密方法、装置及系统 |
| CN102456116A (zh) * | 2010-10-28 | 2012-05-16 | 无锡江南计算技术研究所 | 文件加密方法、解密方法及装置 |
| CN103294961A (zh) * | 2013-06-07 | 2013-09-11 | 北京奇虎科技有限公司 | 一种文件加/解密方法以及文件加/解密装置 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7920700B2 (en) * | 2006-10-19 | 2011-04-05 | Oracle International Corporation | System and method for data encryption |
| US20080154775A1 (en) * | 2006-12-22 | 2008-06-26 | Nortel Networks Limited | Re-encrypting encrypted content on a video-on-demand system |
| US8468244B2 (en) * | 2007-01-05 | 2013-06-18 | Digital Doors, Inc. | Digital information infrastructure and method for security designated data and with granular data stores |
| CN102063598A (zh) * | 2009-11-17 | 2011-05-18 | 北大方正集团有限公司 | 一种数据加密、解密方法及装置 |
| DE102011010613B4 (de) * | 2011-02-08 | 2020-09-10 | Fujitsu Ltd. | Verfahren zum Speichern und Wiederherstellen von Daten, Verwendung der Verfahren in einer Storage Cloud, Speicherserver und Computerprogrammprodukt |
| US10200256B2 (en) * | 2012-09-17 | 2019-02-05 | Box, Inc. | System and method of a manipulative handle in an interactive mobile user interface |
| US9003183B2 (en) * | 2013-01-28 | 2015-04-07 | Digitalmailer, Inc. | Virtual storage system and file encryption methods |
| US9141823B2 (en) * | 2013-03-15 | 2015-09-22 | Veridicom, Sa De Cv | Abstraction layer for default encryption with orthogonal encryption logic session object; and automated authentication, with a method for online litigation |
| US8888005B2 (en) * | 2013-04-12 | 2014-11-18 | David Prokop | Uniquely identifiable drug dosage form units |
-
2013
- 2013-06-07 CN CN2013102265407A patent/CN103294961A/zh active Pending
-
2014
- 2014-06-04 WO PCT/CN2014/079167 patent/WO2014194828A1/zh not_active Ceased
- 2014-06-04 US US14/896,299 patent/US20160117518A1/en not_active Abandoned
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101667162A (zh) * | 2008-09-02 | 2010-03-10 | 英业达股份有限公司 | 文件加解密系统及其方法 |
| CN102456116A (zh) * | 2010-10-28 | 2012-05-16 | 无锡江南计算技术研究所 | 文件加密方法、解密方法及装置 |
| CN102254127A (zh) * | 2011-08-11 | 2011-11-23 | 华为技术有限公司 | 文件的加密和解密方法、装置及系统 |
| CN103294961A (zh) * | 2013-06-07 | 2013-09-11 | 北京奇虎科技有限公司 | 一种文件加/解密方法以及文件加/解密装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103294961A (zh) | 2013-09-11 |
| US20160117518A1 (en) | 2016-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103294961A (zh) | 一种文件加/解密方法以及文件加/解密装置 | |
| EP2165284B1 (en) | Method and apparatus for securing data in memory device | |
| EP2696305B1 (en) | Method and device for file protection | |
| CN107612683B (zh) | 一种加解密方法、装置、系统、设备和存储介质 | |
| CN107659632A (zh) | 一种文件加解密方法、装置及计算机可读存储介质 | |
| TW201248637A (en) | Secure removable media and the method for managing secure removable media | |
| CN107092816B (zh) | 一种Android应用程序加固方法 | |
| WO2020044095A1 (zh) | 文件加密方法、装置、设备/终端/服务器及计算机可读存储介质 | |
| CN104615929A (zh) | 为提供安全的云服务的动态口令卡、安全云服务提供系统及安全云服务提供方法 | |
| CN107516045A (zh) | 文件保护方法及装置 | |
| WO2017185582A1 (zh) | 一种数据处理方法、访问方法及终端 | |
| CN114036003A (zh) | 一种基于硬件密码设备的大文件备份与恢复安全方法 | |
| CN114745373A (zh) | 一种文件传输方法、装置、设备及存储介质 | |
| CN101667162B (zh) | 文件加解密系统及其方法 | |
| JP2016046799A (ja) | セキュリティクラウドサービスを提供するためのエージェントおよびセキュリティクラウドサービスのためのセキュリティ鍵装置 | |
| JP6537729B1 (ja) | 情報処理装置、情報処理方法、プログラム及び記録媒体 | |
| CN100399304C (zh) | 利用过滤驱动程序结合智能密钥装置自动保护磁盘数据的方法 | |
| CN106789836B (zh) | 电子资源保护方法及系统 | |
| CN117540395A (zh) | 数据加密和解密方法、加解密系统、电子设备及介质 | |
| KR101945687B1 (ko) | 하이브리드 클라우드를 이용한 전자 문서 관리 시스템 및 그 방법 | |
| CN111159783B (zh) | 一种便携式高速流加密硬件装置及方法 | |
| CN101018117B (zh) | 网页日志加密系统及方法 | |
| JP5175494B2 (ja) | 暗号化コンテンツ編集方法およびコンテンツ管理装置 | |
| CN101112040B (zh) | 用于保护数字权限文件描述的方法和装置 | |
| CN102314579A (zh) | 一种文件过滤的保护方法、驱动设备及客户端 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14807883 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14896299 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14807883 Country of ref document: EP Kind code of ref document: A1 |