Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing block cipher FBC

A technology of block cipher and encryption method, applied in the field of information security, can solve the problems of insufficient degree of confusion, increase the cost of cipher implementation, etc., and achieve the effect of optimal cost

Active Publication Date: 2020-12-01
ACAD OF MATHEMATICS & SYSTEMS SCIENCE - CHINESE ACAD OF SCI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the degree of confusion between the rows of the plaintext group is not enough. The usual practice is to perform a linear row transformation after the column transformation of the plaintext group, so as to ensure the degree of confusion between the rows, and correspondingly increase the cost of cipher implementation.

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
  • A method and device for realizing block cipher FBC
  • A method and device for realizing block cipher FBC
  • A method and device for realizing block cipher FBC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The block cipher algorithm of the present invention will be further described below in conjunction with the accompanying drawings.

[0024] The block encryption algorithm FBC of the present invention is named after the initials of Feistel-based Block Cipher in English. Such as figure 1 As shown, the algorithm is based on a dual Feistel structure design, supports 128-bit and 256-bit plaintext blocks, and 128-bit and 256-bit master keys, and mainly includes three versions: FBC128-128, FBC128-256, and FBC256-256.

[0025] This specification mainly uses the following symbols:

[0026] P n bit plaintext

[0027] C n bit ciphertext

[0028] k m bit master key

[0029] k i The i-th round key word, i=0,1,...,2r+1

[0030] a i ,b i ,c i , d i The status word of the i-th iteration, the length of each word is w bits, i=0,1,2,...,r+1

[0031] u,v word of length w bits

[0032] u i ,v i The i-th sub-block of length w / 4 bits for words u and v, i=1,2,3,4

[0033] u i ...

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 method and a device for realizing a block cipher FBC. The encryption method comprises the following steps: 1) dividing plaintext data into a plurality of plaintext data groups, wherein each plaintext data group is n-bit plaintext data; 2) setting a master key k with the length of m bits, and generating a round key of the block cipher FBC according to the master key k; wherein m = Nn, and N is a natural number; setting a bit number s and a bit number t of cyclic left shift; setting a round of function F and a round number r; and 3) dividing each plaintext data group P into four w-bit words, and performing r-round encryption on the plaintext data group P by using a round key and a round function F according to a four-way double Feistel structure to obtain a ciphertext C. According to the method, under the condition that the degree of confusion between rows is ensured, the password implementation overhead is optimal.

Description

technical field [0001] The invention belongs to the technical field of information security, and in particular relates to a block cipher FBC realization method and a corresponding device. Background technique [0002] Block cipher is one of the mainstream cryptosystems. Because of its good scalability of plaintext information, sensitivity to insertion, no need for key synchronization and strong applicability, block ciphers are suitable as encryption standards. [0003] The overall structure adopted by the current block cipher can be divided into Feistel structure (such as CAST-256, DEAL, DFC, E2, etc.), SP network (such as Safer+, Serpent, etc.) and other cryptographic structures (such as Frog and HPC). Encryption and decryption are similar to an implementation advantage of Feistel-type ciphers, but it seems to be a bit slow in the diffusion of ciphers, for example, it takes two rounds to change every bit of the input. The network structure of SP is very clear, and S is ge...

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/06H04L9/08
CPCH04L9/0631H04L9/0861
Inventor 冯秀涛曾祥勇张凡曾光唐灯甘国华王永兴
Owner ACAD OF MATHEMATICS & SYSTEMS SCIENCE - CHINESE ACAD OF SCI