Dynamic encryption and decryption method based on stream ciphers

A dynamic encryption and stream cipher technology, applied in digital transmission systems, electrical components, transmission systems, etc., to achieve high security, strong flexibility, and simple implementation methods

Inactive Publication Date: 2013-05-08
JILIN UNIV
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes the security of the ciphertext enc

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
  • Dynamic encryption and decryption method based on stream ciphers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] refer to figure 1 , the present invention provides a dynamic encryption and decryption method based on a stream cipher, comprising:

[0045] Read the plaintext file, and after obtaining the length m of the plaintext file, select a natural number k smaller than the length m as the encryption coefficient according to the length m of the plaintext file;

[0046] For the different binary bits of the key file, set its corresponding encryption rules and corresponding decryption rules;

[0047]Encryption step: select the reference file, read the key file, select a binary bit of the key file, and read and write the binary bit of the plaintext file according to the encryption rule corresponding to the binary bit, combined with the encryption coefficient and the reference file, Then generate a ciphertext file;

[0048] Decryption step: read the key file, read and write the binary bits of the ciphertext file according to the decryption rules corresponding to the binary bits sele...

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 dynamic encryption and decryption method based on stream ciphers. The method comprises the following steps: encryption coefficient is selected according to the length of a plaintext file; corresponding encryption rules and corresponding deciphering rules are set for different binary digits of a key file; a reference file is selected, the key file is read, a binary digit of the key file is selected, the binary digit of the plaintext file is processed in a read-write mode according to the encryption rules corresponding to the binary digit and combining the encryption coefficient and the reference file, and then a ciphertext file is generated; the key file is read, the binary digit of the ciphertext file is processed in a read-write mode according to the deciphering rules corresponding to the binary digit selected in the encryption process, combining the encryption coefficient and the reference file, and then the restored plaintext file is obtained. The dynamic encryption and decryption method based on stream ciphers is simple in implementation, high in safety and flexibility, and capable of being widely used in the field of computer communications.

Description

technical field [0001] The invention relates to an encryption and decryption method, in particular to a dynamic encryption and decryption method based on a stream cipher. Background technique [0002] Stream cipher (stream cipher), also known as sequence cipher. [0003] Because the analysis and design of stream ciphers are often used in a countrys military and diplomatic communications. Therefore, the research and development and design of stream ciphers are basically carried out in a state of secrecy. Scholars and experts who develop stream ciphers in various countries hardly have too many public works on this aspect in order to keep them secret. All countries restrict the export of stream cipher technology and products as military products. Because it has many incomparable advantages of other passwords, it is one of the most common password systems today. [0004] The current research direction of stream cryptography is based on mathematical models, using complex algeb...

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/18
Inventor 司玉娟郎六琪
Owner JILIN 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