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
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。