Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for encrypting and decrypting multiple messages in parallel by adopting grouping symmetric key algorithm

A technology of symmetric key and encryption method, which is applied in the field of coding, can solve problems such as acceleration in parallel mode, and achieve the effect of maximizing throughput

Active Publication Date: 2020-03-13
BEIJING LIANSHI NETWORKS TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, for the encryption and decryption of mobile phone numbers or mailboxes, usually only one packet needs to be encrypted and decrypted. At this time, the aforementioned parallel method cannot be used to speed up the encryption and decryption operations. Currently, for the encryption and decryption needs of short messages, only traditional encryption and decryption methods can be used. Encrypt and decrypt a packet

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
  • Method for encrypting and decrypting multiple messages in parallel by adopting grouping symmetric key algorithm
  • Method for encrypting and decrypting multiple messages in parallel by adopting grouping symmetric key algorithm
  • Method for encrypting and decrypting multiple messages in parallel by adopting grouping symmetric key algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] This application puts k data from different messages into one register according to the instruction set and algorithm used. According to the encryption and decryption algorithm adopted, the round key is generated according to the key generation algorithm and k master keys. The k master keys can be multiple copies of the same key or different k master keys. Depending on the instruction set used, it is stored in an array of the corresponding length. If the size of the register is M and the basic operation unit is N, then k=M / N at this time, and M / N messages from different messages can be processed at the same time. Specifically, take the SM4 algorithm as an example, the 128-bit register as an example, the basic operation unit is 32 bits, so each register can store 4 data from different messages, that is, k=4, and there are 4 main Key input, the 4 master keys can be the same or different, according to the key expansion algorithm will generate 4 sets of round keys, each set...

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 encrypting and decrypting multiple messages in parallel by adopting a packet symmetric key algorithm, the size of a register is M, the size of a basic operation unit is N, and k = M / N pieces of data from different messages can be processed at the same time. The method comprises the following steps: respectively putting k pieces of data from different messages into k grouped data blocks, wherein the size of each grouped data block is the same as that of a register; dividing the data in each grouped data block into k sections, sequentially connecting the ith segments in the k grouped data in series and then putting the ith segments into the ith register variable, encrypting the ith register variable, dividing the encrypted data in the register variable into k segments, and connecting the jth segments in each register in series to obtain an encryption result of the jth group of plaintexts; the decryption method is similar to the encryption method. By parallelizing the data blocks of different messages, massive filling during short message processing in a current common parallel mode is avoided, and the throughput of a grouping algorithm is maximized.

Description

technical field [0001] The invention belongs to the technical field of encoding, and in particular relates to a parallel encryption and decryption method for multiple messages using a block cipher algorithm. Background technique [0002] Cryptography is a subject that studies how to transmit information secretly. Symmetric cryptography is an important branch of cryptography, and block ciphers are an important research direction of symmetric cryptography. Symmetric cipher is a cryptographic system that uses the same key for encryption / decryption. Block cipher treats the input plaintext block as a whole and outputs a corresponding ciphertext block. [0003] The basic operations of block cipher algorithms represented by SM4, AES, etc. are based on 16 / 32 / 64 bits as the basic unit of operation, while modern CPUs have 64, 128, 256 or even 512-bit registers. This means that multiple operands of basic operations can be stored in a register, and an operation on this register (such a...

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 Applications(China)
IPC IPC(8): H04L9/06
CPCH04L9/0637H04L2209/125
Inventor 王芷玲李瑞春白小勇王滨
Owner BEIJING LIANSHI NETWORKS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products