Lightweight block cipher algorithm Shadow implementation method and device and computer readable medium

A technology of block cipher algorithm and implementation method, applied in the field of computer encryption, which can solve problems such as insufficient resistance to known or unknown attacks

Active Publication Date: 2019-12-13
HENGYANG NORMAL UNIV
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a light-weight block cipher algorithm Shadow implement

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
  • Lightweight block cipher algorithm Shadow implementation method and device and computer readable medium
  • Lightweight block cipher algorithm Shadow implementation method and device and computer readable medium
  • Lightweight block cipher algorithm Shadow implementation method and device and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0075] The embodiment of the present invention provides a kind of lightweight block cipher algorithm Shadow realization method, such as figure 1 shown, including the following steps:

[0076] A1: Obtain 64-bit plaintext to be encrypted, and determine the number of iterations R according to the number of key bits;

[0077] In the specific implementation, the 64-bit plaintext is loaded into the register. When the key length is 80-bit, the value of R is 25; when the key length is 128-bit, the value ...

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 discloses a lightweight block cipher algorithm Shadow implementation method and device based on an SPN structure and a computer readable medium. The method comprises the following steps:obtaining a 64-bit plaintext to be encrypted, and determining an iteration round number R according to the number of key bits; in the first round of operation to the Rth round of operation, enablingeach round of operation to be sequentially subjected to round key addition operation, nonlinear S-box replacement operation, row displacement operation and linear column hybrid operation, and updatinga key; taking the data obtained after the linear column hybrid operation as the to-be-encrypted data of the next round of operation, and taking the updated key as the key of the next round of operation; and performing round key addition operation on the data after the Rth round of operation and the key, and outputting a ciphertext. On the basis that part of cryptographic indexes of the S box arenot affected by affine transformation, a composite affine mathematical method is adopted, the pseudo-random key related S box is constructed on a finite field GF (24), meanwhile, a column hybrid matrix is constructed according to the Schmidt matrix orthogonalization principle, and attacks can be effectively resisted.

Description

technical field [0001] The invention relates to the field of computer encryption, in particular to a method, device and computer-readable medium for realizing a lightweight block cipher algorithm Shadow based on an SPN structure. Background technique [0002] In recent years, data security issues in the fields of financial services, smart cards, retail, and autonomous vehicles have become more and more prominent, which has aroused widespread concern about data confidentiality, privacy protection, and personal data security. Because traditional block ciphers are not suitable for low-cost, low-power resource-constrained application environments such as RFID tags and sensor nodes, research on lightweight block ciphers suitable for such resource-constrained environments is currently an international Hot issues in cryptography research. [0003] Compared with traditional block ciphers, lightweight block ciphers have the following characteristics: (1) resource-constrained applica...

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
IPC IPC(8): H04L9/06G06F21/60
CPCG06F21/602H04L9/0631
Inventor 李浪郭影刘波涛焦铬邹祎李秋萍
Owner HENGYANG NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products