Check patentability & draft patents in minutes with Patsnap Eureka AI!

Synchronization method and system for a block cipher mode

A block cipher and mode technology, applied in transmission systems, digital transmission systems, encryption devices with shift registers/memory, etc., can solve problems such as increasing message length and pressure on communication resources, and avoid pressure on communication resources , shorten the length, reduce the effect of error rate

Active Publication Date: 2020-03-17
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problem that the initialization vector IV is transmitted together with the ciphertext information in the above-mentioned prior art, which increases the length of the message and the pressure on communication resources, the purpose of the present invention is to provide a synchronization method and system for block cipher mode

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
  • Synchronization method and system for a block cipher mode
  • Synchronization method and system for a block cipher mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 1 As shown, the synchronization method of a block cipher mode provided by this embodiment includes the sender and the receiver of the communication. The sender will intercept a part of the communication information as the initial vector IV during each communication. The sender in the communication includes the following steps : First, the sender judges whether authentication communication is required. If it is, it means that the initial vector IV intercepted in the last communication is unavailable, that is, decryption failure, message loss, etc. caused by transmission problems, or this communication is the first communication , first set the number of packets NUM for authentication communication, and splicing the number of packets NUM with the identity and hashing calculations to form a new initial vector IV 0 And store, the identity here is determined and unique through mutual negotiation between the sender and the receiver, and then use the initial vec...

Embodiment 2

[0048] Such as figure 2 As shown, the synchronization method of a block cipher mode provided by this embodiment includes the sender and the receiver of the communication. The sender and the receiver will intercept a part of the communication information as the initial vector IV during each communication. During the communication, the sender It includes the following steps: first, the sender judges whether authentication communication is required, if so, it means that the initial vector IV intercepted in the previous communication is unavailable, that is, decryption failure, message loss, etc. caused by transmission problems, or this communication is the first For one communication, first set the number of packets NUM for authentication communication, and splicing the number of packets NUM with the identity and hashing calculations to form a new initial vector IV 0 And store, the identity here is determined and unique through mutual negotiation between the sender and the recei...

Embodiment 3

[0063] A block cipher mode synchronization system provided by an embodiment of the present invention includes a sender device and a receiver device for communication, and adopts the following method:

[0064] During each communication, the sender device and the receiver device will intercept a part of the communication information as the initial vector IV. During the communication, the sender device includes the following steps: first, the sender device judges whether authentication communication is required, and if so, it indicates that the last communication interception If the initial vector IV is unavailable, that is, the decryption failure or packet loss caused by transmission problems, or this communication is the first communication, first set the number of packets NUM for authentication communication, and compare the number of packets NUM with the identity Identity splicing and hash calculation to form a new initial vector IV 0 And store, the identity here is determine...

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 for synchronizing a block cipher mode. The method comprises a sender and a receiver of communication, and comprises the following steps: the sender judges whether authentication communication needs to be performed, if so, the sender sets a message number NUM of the authentication communication, splices the message number NUM with an identity identifier, performs hash calculation to form a new initial vector IV and stores the initial vector IV, and if not, block encryption is performed on to-be-sent message data of the sender by using the initial vector IV and a working key to form a message ciphertext. The sender sets an IV synchronization bit, and assembles the IV synchronization bit, the message number NUM, the message ciphertext and a message verification value to form to-be-transmitted written ciphertext; and the written ciphertext is transmitted, meanwhile the message number NUM is updated, and a segment in the message ciphertext is intercepted and stored to serve as the initial vector IV of the next communication. The method for synchronizing the block cipher mode provided by the invention has the advantages of greatly shortening the length of the encrypted message and avoiding increasing the length of the message and the pressure of communication resources.

Description

technical field [0001] The invention relates to the field of encrypted communication, in particular to a method and system for synchronizing block cipher modes. Background technique [0002] The block cipher mode can usually be divided into Electronic Code Book (ECB), Cipher Book Chaining (CBC), Cipher Feedback (Cipher-Feedback, CFB), Output Feedback (Output-Feedback, OFB) and group Link (Block Chaining, BC) and other modes. In order to achieve the encryption effect of the same text but different encryption, except the ECB mode, other modes use initialization vector (Initialization Vector, IV) to make the message unique. After using the initialization vector IV, the exact same message can be encrypted into different ciphertext messages, thus preventing eavesdroppers from using message replay to attack. [0003] Under normal circumstances, the initialization vector IV does not need to be kept secret, and is transmitted together with the ciphertext in plain text. When commu...

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): H04L9/06
CPCH04L9/0618H04L9/0637
Inventor 李婷刘强李若寒张小亮朱书杉
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More