WO2015131298A1 - ePub文档数据安全保护方法及*** - Google Patents

ePub文档数据安全保护方法及*** Download PDF

Info

Publication number
WO2015131298A1
WO2015131298A1 PCT/CN2014/000194 CN2014000194W WO2015131298A1 WO 2015131298 A1 WO2015131298 A1 WO 2015131298A1 CN 2014000194 W CN2014000194 W CN 2014000194W WO 2015131298 A1 WO2015131298 A1 WO 2015131298A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
epub
document
algorithm
compressed
Prior art date
Application number
PCT/CN2014/000194
Other languages
English (en)
French (fr)
Inventor
黄新慧
薛军超
段洪锦
Original Assignee
福建福昕软件开发股份有限公司北京分公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 福建福昕软件开发股份有限公司北京分公司 filed Critical 福建福昕软件开发股份有限公司北京分公司
Priority to PCT/CN2014/000194 priority Critical patent/WO2015131298A1/zh
Publication of WO2015131298A1 publication Critical patent/WO2015131298A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level

Definitions

  • the present invention relates to the field of computer data security applications, and in particular to an ePub document data security protection method and system. Background technique
  • ePub Electronic Publication, Electronic Edition
  • the data security of ePub documents mainly refers to the use of cryptographic algorithms to encrypt data to prevent data modification, destruction and disclosure.
  • a common encryption method is to compress each file in the ePub and then encrypt it using a symmetric encryption algorithm.
  • the corresponding encryption method is to decrypt each file in the ePub using a symmetric decryption algorithm and then decompress it. This encryption does not save the verification information of the key, and the correctness of the key cannot be judged when decrypting. If the key is incorrect, the file is displayed incorrectly or cannot be displayed. Summary of the invention
  • the invention provides an ePub document data security protection method and system, which is used for judging the correctness of a key when decrypting an ePub encrypted document, and giving a prompt when the key is wrong, and enhancing the ease of use of the ePub encrypted document. Sex.
  • the present invention provides an ePub document data security protection method, the method comprising the following steps:: encrypting an ePub compressed document by using a symmetric encryption algorithm and a first key to obtain an ePub encrypted document; The algorithm performs verification on the first key, generates first key verification data, and saves the key verification algorithm and the first key verification data in the The ePub encrypts the document; performs verification on the second key input by the user according to the key verification algorithm to generate second key verification data; and the second key verification data and the first key The key verification data is compared to determine whether the two are consistent. If they are inconsistent, the user is prompted to enter the wrong key and prompt the user to re-enter the key.
  • the foregoing method further includes the following steps: If the judgment result is the same, the ePub encrypted document is decrypted according to the second key and the symmetric decryption algorithm, to obtain an ePub compressed document.
  • the method before the step of encrypting the ePub compressed document by using the symmetric encryption algorithm and the first key, the method further includes: compressing the ePub original document to obtain an ePub compressed document.
  • the method further includes: decompressing the ePub compressed document to obtain an ePub original document.
  • an ePub document data security system comprising:
  • the encryption module is configured to encrypt the ePub compressed document by using a symmetric encryption algorithm and the first key to obtain an ePu ⁇ encrypted document;
  • a key verification module configured to perform verification on the first key by using a key verification algorithm, generate first key verification data, and verify the key verification algorithm and the first key
  • the verification data is stored in the ePub encrypted document;
  • the key calibration module is further configured to perform verification on the second key input by the user according to the key verification algorithm to generate second key verification data;
  • a verification data comparison module configured to compare the second key verification data with the first key verification data to determine whether the two are consistent, and if not, prompt the user to input a key error, and Prompt the user to re-enter the key.
  • the foregoing system further includes: a decryption module, configured to: when the check data comparison module If the judgment result is the same, the ePub encrypted document is decrypted according to the second key and the symmetric decryption algorithm, and the ePub compressed document is obtained.
  • the foregoing system further includes: a compression module, configured to compress the ePub original document to obtain an ePub compressed document.
  • the foregoing system further includes: a decompression module, configured to decompress the ePub compressed document to obtain an ePub original document.
  • a decompression module configured to decompress the ePub compressed document to obtain an ePub original document.
  • the key verification algorithm is used to verify the encrypted key
  • the first key verification data is generated
  • the key verification algorithm and the key are verified.
  • the test data is stored in the ePub encrypted document, so that when the user inputs the key for decryption, the key input by the user can be verified according to the key verification algorithm to generate the second key check data, and the second The key verification data is compared with the first key verification data stored in the ePub encrypted document to determine whether the two are consistent.
  • the key input by the user may be determined to be incorrect, and then the user may be prompted to enter the key.
  • the key error and prompting the user to re-enter the key enhance the ease of use of the ePub encrypted document and overcome the problems in the prior art.
  • FIG. 1 is a flowchart of a data security protection method for an ePub document according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of encrypting an ePub compressed document according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an ePub encrypted document according to an embodiment of the present invention
  • Schematic diagram of decryption
  • FIG. 4 is a schematic diagram of an ePub document data security protection system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a data security protection method for an ePub document according to an embodiment of the present invention; as shown in the figure, the method includes the following steps:
  • S102 Encrypt the ePub compressed document by using a symmetric encryption algorithm and a first key to obtain an ePub secret.
  • the symmetric encryption algorithm used may be an algorithm such as DES (Data Encryption Algorithm), 3DES (Triple DES), Blowfish (Blowfish), IDEA (International Data Encryption Algorithm), and the like.
  • the first key used can be set by the user.
  • the first key is verified by using a key verification algorithm to generate first key verification data, and the key verification algorithm and the first key verification data are saved in the ePub encrypted document.
  • the key verification algorithm here may be a hash algorithm, such as shal (Secure Hash Algorithm 1 , Secure Hash Algorithm 1st Edition), sha2 (Secure Hash Algorithm 2, Secure Hash Algorithm 2nd Edition), md5 (Message Digest) Algorithm 5, message digest algorithm fifth edition) and other algorithms.
  • the key verification data is a hash value generated by a key verification algorithm for a key, such as data obtained by hashing a key using sha2.
  • the XML (Extensible Markup Language) file can be saved, that is, the ePub document is encrypted to generate an XML.
  • this XML file is used to record the key verification algorithm used and the key verification data generated by verifying the key.
  • S106 Perform a verification on the second key input by the user according to the key verification algorithm to generate second key verification data.
  • step S104 When the user input key decrypts the ePub encrypted document, similar to step S104, the key input by the user is verified according to the key verification algorithm stored in the XML file to generate a hash value, that is, the step described in this step.
  • the second key checks the data.
  • step S108 Compare the second key verification data with the first key verification data to determine whether the two keys are consistent. If they are inconsistent, prompt the user to input the key error, and prompt the user to re-enter the key. Comparing the second key verification data obtained in step S106 with the first key verification data stored in step S104, if the two are inconsistent, the key input by the user does not match the key at the time of encryption, and the prompt The key entered by the user is incorrect, and the user is prompted to input the correct key. After the user re-enters the new key, steps S102-S108 are repeated to determine whether the new key entered by the user is correct.
  • the foregoing method further includes the following steps: If the judgment result is the same, the ePub encrypted document is decrypted according to the second key and the symmetric decryption algorithm, to obtain an ePub compressed document. For example, before the step of encrypting the ePub compressed document by using the symmetric encryption algorithm and the first key, the method further includes: compressing the ePub original document to obtain an ePub compressed document.
  • the method further comprises: decompressing the ePub compressed document to obtain the original ePub document.
  • FIG. 2 is a schematic diagram of encrypting an ePub compressed document according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of FIG.
  • the ePub document data security protection method in the embodiment of the present invention can implement a Html (Hypertext Markup Language) file. Batch processing of encryption and decryption, n in the figure is a natural number.
  • Html Hypertext Markup Language
  • FIG. 4 is a schematic diagram of an ePub document data security protection system according to an embodiment of the present invention. As shown, the system includes:
  • the encryption module 402 is configured to encrypt the ePub compressed document by using a symmetric encryption algorithm and the first key to obtain an ePub encrypted document.
  • the key verification module 404 is configured to perform a face verification on the first key by using a key verification algorithm, generate first key verification data, and save the key verification algorithm and the first key verification data in the ePub. Encrypted document;
  • the key verification module is further configured to perform a second key input by the user according to the key verification algorithm to generate second key verification data.
  • the verification data comparison module 406 is configured to compare the second key verification data with the first key verification data to determine whether the two are consistent. If they are inconsistent, the user is prompted to enter a key error, and prompts the user to re-enter Key.
  • the system further includes: a decryption module, configured to: when the verification result of the verification data comparison module is consistent, the second key and the symmetric decryption algorithm decrypt the ePub encrypted document to obtain an ePub compressed document.
  • a decryption module configured to: when the verification result of the verification data comparison module is consistent, the second key and the symmetric decryption algorithm decrypt the ePub encrypted document to obtain an ePub compressed document.
  • the above system further includes: a compression module, configured to compress the ePub original document, and obtain an ePub compressed document.
  • the above system further includes: a decompression module, configured to decompress the ePub compressed document to obtain an ePub original document.
  • a decompression module configured to decompress the ePub compressed document to obtain an ePub original document.
  • the test data is stored in the ePub encrypted document, so that when the user inputs the key for decryption, the key input by the user can be verified according to the key verification algorithm to generate the second key check data, and the second
  • the key verification data is compared with the first key verification data stored in the ePub encrypted document to determine whether the two are consistent. If the two are inconsistent, the key input by the user may be determined to be incorrect, and then the user may be prompted to enter the key.
  • the key error and prompting the user to re-enter the key enhance the ease of use of the ePub encrypted document and overcome the problems in the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Document Processing Apparatus (AREA)

Abstract

一种ePub文档数据安全保护方法及***,其中该方法包括以下步骤:采用对称加密算法和第一密钥对ePub压缩文档进行加密,得到ePub加密文档;采用密钥校验算法对所述第一密钥进行校验,生成第一密钥校验数据,将所述密钥校验算法和所述第一密钥校验数据保存在所述ePub加密文档中;根据所述密钥校验算法对用户输入的第二密钥进行校验,生成第二密钥校验数据;将所述第二密钥校验数据与所述第一密钥校验数据进行对比,判断二者是否一致,若不一致,则提示用户输入的密钥错误,并提示用户重新输入密钥。

Description

ePub文档数据安全保护方法及*** 技术领域
本发明涉 Λ计算机数据安全应用领域, 具体而言, 涉及一种 ePub文档数 据安全保护方法及***。 背景技术
ePub ( Electronic Publication, 电子版)是一个自由的开放标准, 其文字 内容可以自动重新编排, 也就是文字内容可以根据阅读设备的特性, 以最适 于阅读的方式显示。 ePub文档的数据安全主要是指采用密码算法对数据加密, 防止数据的修 改、 破坏和泄露。 通常的一种加密方法是将 ePub中的每个文件进行压缩, 然 后使用对称加密算法进行加密;对应加密的解密方法是将 ePub中的每个文件 采用对称解密算法进行解密, 然后进行解压缩。 这种加密没有保存密钥的校 验信息, 在进行解密时不能对密钥的正确性进行判断, 如果密钥错误导致文 件显示不正确或者不能显示。 发明内容
本发明提供一种 ePub文档数据安全保护方法及***, 用以在对 ePub加 密文档进行解密时对密钥的正确性进行判断, 并在密钥错误时给出提示, 增 强 ePub加密文档的易用性。
为达到上述目的, 本发明提供了一种 ePub文档数据安全保护方法, 该方 法包括以下步骤: 采用对称加密算法和第一密钥对 ePub压缩文档进行加密, 得到 ePub加密文档; 采用密钥校验算法对所述第一密钥进行校验, 生成第一 密钥校验数据, 将所述密钥校验算法和所述第一密钥校验数据保存在所述 ePub加密文档中; 根据所述密钥校验算法对用户输入的第二密钥进行校验, 生成第二密钥校验数据; 将所述第二密钥校验数据与所述第一密钥校验数据 进行对比, 判断二者是否一致, 若不一致, 则提示用户输入的密钥错误, 并 提示用户重新输入密钥。
可选的, 上述方法还包括以下步骤: 若判断结果为二者一致, 则根据所 述第二密钥和对称解密算法对所述 ePub加密文档进行解密, 得到 ePub压缩 文档。
可选的,所述采用对称加密算法和第一密钥对 ePub压缩文档进行加密步 骤之前还包括: 对 ePub原始文档进行压缩, 得到 ePub压缩文档。
可选的, 所述得到 ePub压缩文档步骤之后还包括: 对所述 ePub压缩文 档进行解压缩, 得到 ePub原始文档。
根据本发明的另一个方面 , 还提供了一种 ePub文档数据安全保护***, 该***包括:
加密模块, 用于采用对称加密算法和第一密钥对 ePub 压缩文档进行加 密, 得到 ePu^加密文档;
密钥校验模块, 用于采用密钥校验算法对所述第一密钥进行校验, 生成 第一密钥校验数据, 将所述密钥校验算法和所述第一密钥校验数据保存在所 述 ePub加密文档中; 所述密钥校睑模块还用于根据所述密钥校验算法对用户输入的第二密钥 进行校验, 生成第二密钥校验数据;
检验数据对比模块, 用于将所述第二密钥校验数据与所述第一密钥校验 数据进行对比', 判断二者是否一致, 若不一致, 则提示用户输入的密钥错误, 并提示用户重新输入密钥。
可选的, 上述***还包括: 解密模块, 用于当所述校验数据对比模块的 判断结果为二者一致,则才艮据所述第二密钥和对称解密算法对所述 ePub加密 文档进行解密, 得到 ePub压缩文档。 可选的, 上述***还包括: 压缩模块, 用于对 ePub原始文档进行压缩, 得到 ePub压缩文档。
可选的, 上述***还包括: 解压缩模块, 用于对所述 ePub压缩文档进行 解压缩, 得到 ePub原始文档。 上述实施例中, 在对 ePub压缩文档进行加密时, 釆用密钥校验算法对加 密的密钥进行校验, 生成第一密钥校验数据, 并将密钥校验算法和密钥校验 数据保存在 ePub加密文档中, 这样, 在用户输入密钥进行解密时, 即可根据 密钥校验算法对用户输入的密钥进行校验, 生成第二密钥校验数据, 将第二 密钥校验数据与 ePub加密文档中保存的第一密钥校验数据进行比较,判断二 者是否一致, 若二者不一致, 则可以判定用户输入的密钥错误, 进而可以提 示用户输入的密钥错误以及提示用户重新输入密钥,从而增强了 ePub加密文 档的易用性, 克服了现有技术中存在的问题。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明一个实施例的 ePub文档数据安全保护方法流程图; 图 2为本发明一个实施例的对 ePub压缩文档进行加密的示意图; 图 3为本发明一个实施例的对 ePub加密文档进行解密的示意图; 图 4为本发明一个实施例的 ePub文档数据安全保护***示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有付 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明一个实施例的 ePub文档数据安全保护方法流程图;如图所 示, 该方法包括以下步骤:
S102 , 采用对称加密算法和第一密钥对 ePub 压缩文档进行加密, 得到 ePub力口密 当。
其中, 所采用的对称加密算法可以是 DES ( Data Encryption Algorithm, 数据加密算法 )、 3DES (三重 DES ) 、 Blowfish (河豚 )、 IDEA ( International Data Encryption Algorithm, 国际数据加密算法)等算法, 而加密所采用的第 一密钥可以由用户设置。
S 104, 采用密钥校验算法对第一密钥进行校验, 生成第一密钥校验数据, 将密钥校验算法和第一密钥校验数据保存在 ePub加密文档中。
这里的密钥校验算法可以是哈希算法,如 shal ( Secure Hash Algorithm 1 , 安全哈希算法第一版) 、 sha2 ( Secure Hash Algorithm 2, 安全哈希算法第二 版) 、 md5 ( Message Digest Algorithm 5 , 消息摘要算法第五版)等算法。 密 钥校验数据是采用密钥校验算法对密钥生成的哈希值, 如采用 sha2对密钥进 行哈希计算得到的数据。 在将密钥校验算法和第一密钥校验数据保存在 ePub 加密文档中时, 可以通过 XML ( Extensible Markup Language, 可扩展标记语 言)文件进行保存,即在对 ePub文档进行加密生成一个 XML文件,这个 XML 文件用于记录所采用的密钥校验算法和对密钥进行校验所生成的密钥校验数 据, 如下为一个实施例的 XML文件描述: <?xml version="1.0" encoding="UTF-8"?> <fdrm:Encryption xmlns=,,http:〃 www.foxitsoftware.com" xmlns:fdrm=,,http:〃 www.foxitsoftware.com/foxitdrm,,> <fdrm:Descriptor package="EncryptInfo"> <!一密钥校验算法和密钥校验数据 > Authentication algorithm="DES" version=" 1.0"> <Validity>
<Algorithm>SHA2</Algorithm> <V-alue>gfztlqoJRXG7kEbD58pCVfD5xAUqZrambgIIn+dvnZWs=</
Value>
</Validity> </Authentication>
< 对 epub中的每个文件记录文件路径、 是否加密和加密前的原始 大小 — >
<CipherData>
<CipherRef href="OEPS/l .jpg" Encrypted:" 1" FileSize="394115"
/>
<CipherRef href="OEPS/l .html" Encrypted ="1" FileSize="2755"
/>
<CipherRef href="OEPS/l .ess" Encrypted ="1" FileSize="123" /> </CipherData> </fdrm:Descriptor>
<~对这个 xml的校验算法和校验数据 -> <fdrm:Validity> <Algorithm>SHA2</Algorithm>
<Value>kzpKIqhOA6HAlYzw7TsPTDcOV2CrW2I-</Value> </fdrm:Validty>
</fdrm: Encrypti on>
S106, 根据密钥校验算法对用户输入的第二密钥进行校验, 生成第二密 钥校验数据。
在用户输入密钥对 ePub加密文档进行解密时, 与步骤 S104类似, 根据 前述 XML 文件中保存的密钥校验算法对用户输入的密钥进行校验生成哈希 值, 即本步骤所述的第二密钥校验数据。
S108 , 将第二密钥校验数据与第一密钥校验数据进行对比, 判断二者是 否一致, 若不一致, 则提示用户输入的密钥错误, 并提示用户重新输入密钥。 将步骤 S106中得到的第二密钥校验数据与步骤 S104中保存的第一密钥 校验数据进行比较, 若二者不一致则说明用户所输入的密钥与加密时的密钥 不符, 提示用户输入的密钥错误, 并提示用户输入正确的密钥, 在用户重新 输入新的密钥后, 重复步骤 S102-S108判断用户输入的新密钥是否正确。 若 判断结果为二者一致, 则可以判定用户输入的密钥正确, 进而可以对 ePub加 密文档进行解密, 得到 ePub解密文档。 例如, 上述方法还包括以下步骤: 若判断结果为二者一致, 则根据第二 密钥和对称解密算法对 ePub加密文档进行解密, 得到 ePub压缩文档。 例如,采用对称加密算法和第一密钥对 ePub压缩文档进行加密步骤之前 还包括: 对 ePub原始文档进行压缩, 得到 ePub压缩文档。
例如, 得到 ePub压缩文档步骤之后还包括: 对 ePub压缩文档进行解压 缩, 得到 ePub原始文档。
图 2为本发明一个实施例的对 ePub压缩文档进行加密的示意图,图 3为 本发明一个实施例的对 ePub加密文档进行解密的示意图, 如图 2、 3所示, 本发明实施例中的 ePub文档数据安全保护方法可以实现对 Html ( Hypertext Markup Language, 超文本标记语言)文件加解密的批处理, 图中的 n为自然 数。
与前述 ePub文档数据安全保护方法实施例相适应, 图 4为本发明一个实 施例的 ePub文档数据安全保护***示意图。 如图所示, 该***包括:
加密模块 402, 用于采用对称加密算法和第一密钥对 ePub压缩文档进行 加密, 得到 ePub加密文档;
密钥校验模块 404 , 用于采用密钥校验算法对第一密钥进行校脸, 生成 第一密钥校验数据,将密钥校验算法和第一密钥校验数据保存在 ePub加密文 档中;
密钥校验模块还用于根据密钥校验算法对用户输入的第二密钥进行校 验, 生成第二密钥校验数据;
检验数据对比模块 406, 用于将第二密钥校验数据与第一密钥校验数据 进行对比, 判断二者是否一致, 若不一致, 则提示用户输入的密钥错误, 并 提示用户重新输入密钥。
例如, 上述***还包括: 解密模块, 用于当校验数据对比模块的判断结 果为二者一致, 则 ^居第二密钥和对称解密算法对 ePub加密文档进行解密, 得到 ePub压缩文档。 例如, 上述***还包括: 压缩模块, 用于对 ePub原始文档进行压缩, 得 到 ePub压缩文档。
例如,上述***还包括:解压缩模块,用于对 ePub压缩文档进行解压缩, 得到 ePub原始文档。 上述的 ePub文档数据安全保护***实施例与前述的 ePub文档数据安全 保护方法实施例类似, 所以介绍的比较简单, 相关部分可以参见前述的 ePub 文档数据安全保护方法实施例部分。 上述实施例中, 在对 ePub压缩文档进行加密时, 釆用密钥校验算法对加 密的密钥进行校验, 生成第一密钥校验数据, 并将密钥校验算法和密钥校验 数据保存在 ePub加密文档中, 这样, 在用户输入密钥进行解密时, 即可根据 密钥校验算法对用户输入的密钥进行校验, 生成第二密钥校验数据, 将第二 密钥校验数据与 ePub加密文档中保存的第一密钥校验数据进行比较,判断二 者是否一致, 若二者不一致, 则可以判定用户输入的密钥错误, 进而可以提 示用户输入的密钥错误以及提示用户重新输入密钥,从而增强了 ePub加密文 档的易用性, 克服了现有技术中存在的问题。 本领域普通技术人员可以理解: 附图只是一个实施例的示意图, 附图中 的模块或流程并不一定是实施本发明所必须的。 本领域普通技术人员可以理解: 实施例中的装置中的模块可以按照实施 例描述分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例的 一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进一步 拆分成多个子模块。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解': 其依然可以对前述实施例所记载的技术方案进行修改, 或者 对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术 方案的本质脱离本发明实施例技术方案的精神和范围。

Claims

权 利 要 求
1、 一种 ePub文档数据安全保护方法, 其特征在于, 包括以下步骤: 采用对称加密算法和第一密钥对 ePub压缩文档进行加密, 得到 ePub加 密文档; 采用密钥校验算法对所述第一密钥进行校验, 生成第一密钥校验数据, 将所述密钥校验算法和所述第一密钥校验数据保存在所述 ePub加密文档中; 根据所述密钥校验算法对用户输入的第二密钥进行校验, 生成第二密钥 校验数据; 将所述第二密钥校验数据与所述第一密钥校脸数据进行对比, 判断二者 是否一致, 若不一致, 则提示用户输入的密钥错误, 并提示用户重新输入密 钥。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括以下步骤: 若判断结果为二者一致, 则根据所述第二密钥和对称解密算法对所述 ePub加密文档进行解密, 得到 ePub压缩文档。
3、 根据权利要求 1所述的方法, 其特征在于, 所述采用对称加密算法和 第一密钥对 ePub压缩文档进行加密步骤之前还包括: 对 ePub原始文档进行压缩, 得到 ePub压缩文档。
4、 根据权利要求 2所述的方法, 其特征在于, 所述得到 ePub压缩文档 步骤之后还包括: 对所述 ePub压缩文档进行解压缩, 得到 ePub原始文档。
5、 一种 ePub文档数据安全保护***, 其特征在于, 包括: 加密模块, 用于采用对称加密算法和第一密钥对 ePub 压缩文档进行加 密, 得到 ePub加密文档; 密钥校验模块, 用于采用密钥校验算法对所述第一密钥进行校验, 生成 第一密钥校验数据, 将所述密钥校验算法和所述第一密钥校验数据保存在所 ii ePub力口密 当中; 所述密钥校验模块还用于根据所述密钥校验算法对用户输入的第二密钥 进行校验, 生成第二密钥校验数据;
检验数据对比模块, 用于将所述第二密钥校验数据与所述第一密钥校验 数据进行对比, 判断二者是否一致, 若不一致, 则提示用户输入的密钥错误, 并提示用户重新输入密钥。
6、 根据权利要求 5所述的***, 其特征在于, 还包括: 解密模块, 用于当所述校验数据对比模块的判断结果为二者一致, 则根 据所述第二密钥和对称解密算法对所述 ePub加密文档进行解密, 得到 ePub 压缩文档。
7、 根据权利要求 5所述的***, 其特征在于, 还包括: 压缩模块, 用于对 ePub原始文档进行压缩, 得到 ePub压缩文档。
8、 根据权利要求 6所述的***, 其特征在于, 还包括: 解压缩模块, 用于对所述 ePub压缩文档进行解压缩, 得到 ePub原始文
PCT/CN2014/000194 2014-03-03 2014-03-03 ePub文档数据安全保护方法及*** WO2015131298A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/000194 WO2015131298A1 (zh) 2014-03-03 2014-03-03 ePub文档数据安全保护方法及***

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/000194 WO2015131298A1 (zh) 2014-03-03 2014-03-03 ePub文档数据安全保护方法及***

Publications (1)

Publication Number Publication Date
WO2015131298A1 true WO2015131298A1 (zh) 2015-09-11

Family

ID=54054315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/000194 WO2015131298A1 (zh) 2014-03-03 2014-03-03 ePub文档数据安全保护方法及***

Country Status (1)

Country Link
WO (1) WO2015131298A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1471406A1 (en) * 2003-04-25 2004-10-27 Culture.com Technology (Macau) Ltd Method of verifying authorized use of electronic book on an information platform
CN1550115A (zh) * 2001-08-30 2004-11-24 摩托罗拉公司 校验下载软件的方法和相关设备
CN101894222A (zh) * 2009-05-19 2010-11-24 上海易狄欧电子科技有限公司 电子书下载方法及购买***
CN102096751A (zh) * 2009-12-10 2011-06-15 上海易狄欧电子科技有限公司 电子书发布和获取的方法及其服务***
CN102223364A (zh) * 2011-05-09 2011-10-19 飞天诚信科技股份有限公司 一种访问电子书数据的方法及***
CN103413087A (zh) * 2013-08-20 2013-11-27 杭州华三通信技术有限公司 一种光模块、应用该光模块的设备及验证方法
CN104008344A (zh) * 2013-02-21 2014-08-27 福建福昕软件开发股份有限公司北京分公司 ePub文档数据安全保护方法及***

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1550115A (zh) * 2001-08-30 2004-11-24 摩托罗拉公司 校验下载软件的方法和相关设备
EP1471406A1 (en) * 2003-04-25 2004-10-27 Culture.com Technology (Macau) Ltd Method of verifying authorized use of electronic book on an information platform
CN101894222A (zh) * 2009-05-19 2010-11-24 上海易狄欧电子科技有限公司 电子书下载方法及购买***
CN102096751A (zh) * 2009-12-10 2011-06-15 上海易狄欧电子科技有限公司 电子书发布和获取的方法及其服务***
CN102223364A (zh) * 2011-05-09 2011-10-19 飞天诚信科技股份有限公司 一种访问电子书数据的方法及***
CN104008344A (zh) * 2013-02-21 2014-08-27 福建福昕软件开发股份有限公司北京分公司 ePub文档数据安全保护方法及***
CN103413087A (zh) * 2013-08-20 2013-11-27 杭州华三通信技术有限公司 一种光模块、应用该光模块的设备及验证方法

Similar Documents

Publication Publication Date Title
JP7297360B2 (ja) キー管理方法、装置、システム、コンピュータ機器及びコンピュータプログラム
CN110493197B (zh) 一种登录处理方法及相关设备
TWI454111B (zh) 用於確保通訊之鑑別及完備性的技術
US9608822B2 (en) Method for generating an HTML document that contains encrypted files and the code necessary for decrypting them when a valid passphrase is provided
US10848304B2 (en) Public-private key pair protected password manager
CN103780379B (zh) 密码加密方法和***以及密码校验方法和***
CN103595698B (zh) 一种数字权益管理方法
KR20070112115A (ko) 파일의 암호화·복호화 방법, 장치, 프로그램 및 이프로그램을 기록한 컴퓨터 판독 가능한 기록 매체
JP2016515235A5 (zh)
EP2659373A2 (en) System and method for secure software update
WO2015058596A1 (zh) 动态口令生成方法和***、交易请求的处理方法和***
CN110401538B (zh) 数据加密方法、***以及终端
GB2508606A (en) Mobile application for credential recovery
CN101369889A (zh) 一种对文档进行电子签名的***和方法
CN110677382A (zh) 数据安全处理方法、装置、计算机***及存储介质
WO2015161689A1 (zh) 一种基于协商密钥的数据处理方法
KR101739203B1 (ko) 일회용 개인키 기반 전자 서명과 동형 암호를 이용한 패스워드 기반 사용자 인증 방법
WO2014169627A1 (zh) 一种应用解锁方法及装置
CN107995148B (zh) 文件防篡改的方法、***、终端和可信云平台
US20120290833A1 (en) Certificate Blobs for Single Sign On
CN104008344A (zh) ePub文档数据安全保护方法及***
GB2556638A (en) Protecting usage of key store content
CN104038336A (zh) 一种基于3des的数据加密方法
CN112385175B (zh) 一种用于数据加密和完整性的设备
JP6378424B1 (ja) 無欠性及び保安性が強化された使用者認証方法

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: 14884967

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884967

Country of ref document: EP

Kind code of ref document: A1