加密、解密方法及装置制造方法及图纸

技术编号:17963228 阅读:51 留言:0更新日期:2018-05-16 06:57
本发明专利技术实施例提供一种加密、解密方法及装置,涉及通信技术领域,用于满足用户对此前输入的信息进行实时的删除、插入和修改。该方法包括:接收输入的i个明文,i≥1;按照明文的输入顺序,基于主密钥对i个明文中每个明文进行加密,得到第一密文序列和第一位置信息,第一密文序列包括i个明文对应的i个密文,第一位置信息包括i个密文中每个密文的位置指示信息和输入指示信息,位置指示信息用于指示密文在第一密文序列中的位置,输入指示信息用于指示密文对应的明文的输入顺序;若检测到对输入的明文的编辑操作,则基于编辑操作,修改第一密文序列和第一位置信息,得到第二密文序列和第二位置信息;发送第二密文序列和第二位置信息。

Encryption, decryption methods and devices

An embodiment of the invention provides an encryption and decryption method and a device, which involves the field of communication technology to meet the user's real-time deletion, insertion and modification of the input information. The method includes: receiving the I text of the input, I > 1; the first ciphertext sequence and the first position information are obtained by encrypting each plaintext in the I text based on the master key in the input order of the plaintext, and the first ciphertext sequence includes the I ciphertext corresponding to the I plaintext, and the first position information includes each ciphertext in I ciphertext. Position indication information and input information. Position indication information is used to indicate the location of ciphertext in the first ciphertext sequence, input indicating information to indicate the input sequence of the plaintext corresponding to the ciphertext; if the editing operation of the text for the input is detected, the first ciphertext sequence and the first position letter are modified based on the editing operation. The second ciphertext sequence and second position information are obtained, and second ciphertext sequences and second location information are sent.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:方习文闫永杰
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1