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

Plaintext encryption method and system based on seven-order magic cube

An encryption method and magic cube technology, applied in the field of cryptography, can solve the problems of hidden safety hazards and high scrambling requirements, and achieve high security, good encryption effect, and simple encryption process

Active Publication Date: 2016-01-27
SHENZHEN POWER SUPPLY BUREAU
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the widely used plaintext encryption methods mainly include the method of using symmetric encryption algorithm and the method of using asymmetric encryption algorithm. The common feature of the above two methods is to use the key to encrypt and decrypt the plaintext ciphertext. However, in practical applications , often requires users to save at least one of the keys (such as using a user name and password to log in), and the key in text form inevitably brings security risks of disclosure or snooping
[0004] Therefore, in order to solve the security risks brought by the above two methods, the method of using image encryption algorithm has become a new type of encryption. This method usually converts the image into two-dimensional data, and then encrypts it with traditional encryption algorithm. Due to the scrambling High requirements (blurred images can also be recognized), so more complex and cumbersome processes are often required to achieve better encryption results
[0005] It can be seen that there is an urgent need for a plaintext encryption method that can overcome the security risks caused by the simple use of text encryption algorithms, and can also overcome the complex and cumbersome process of image encryption to achieve better encryption effects

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
  • Plaintext encryption method and system based on seven-order magic cube
  • Plaintext encryption method and system based on seven-order magic cube
  • Plaintext encryption method and system based on seven-order magic cube

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0062] Such as figure 1 As shown, in an embodiment of the present invention, a plaintext encryption method based on a seventh-order magic cube is provided, and the method includes:

[0063] Step S1, obtain the key used for encryption, and generate the initial coordinates of a seventh-order magic cube according to the obtained key, and further gradually construct the seventh-order magic cube starting from the generated initial coordinates ; Wherein, the key is composed of binary numbers of a certain length; the seventh-order magic cube is formed by a 7*7 matrix with 1 to 7 layers, and its set coordinate variables include the number of rows, columns and layers ;

[0064] The specific process is as figure 2 As shown, in step S11, obtain a binary number with a len...

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 plaintext encryption method based on a seven-order magic cube, which comprises the steps of obtaining a secret key for encryption; generating an initial coordinate of a seven-order magic cube based on the obtained secret key; and constructing the seven-order magic cube gradually by taking the initial coordinate as the origin, wherein, the secret key is formed of binary numbers in a certain length and the seven-order magic cube comprises a 7*7 matrix with 1 to 7 layers and the coordinate variables comprise rows, columns and layers; determining the plaintext and reordering the plaintext based on the constructed seven-order magic cube to obtain the cryptograph; obtaining an S box by arranging the plaintext into a rectangle in dependence on ASCII codes; and outputting the cryptograph after character displacement for encryption. According to the embodiment, the potential safety trouble brought by character encryption algorithm simply is overcome; the complex and tedious process of image encryption is overcome; and a better encryption effect can be realized.

Description

technical field [0001] The invention relates to the technical field of cryptography, in particular to a plaintext encryption method and system based on a seventh-order magic cube. Background technique [0002] Cryptography is a science with a long history. With the rapid development of computer science in the 21st century and the unparalleled influence of the information age, information itself has become wealth. In order to protect information security, passwords have become an important means of ensuring information services and interactions in various fields of business, finance and society. The use of passwords can prevent information from being illegally stolen, tampered with or destroyed. [0003] At present, the widely used plaintext encryption methods mainly include the method of using symmetric encryption algorithm and the method of using asymmetric encryption algorithm. The common feature of the above two methods is to use the key to encrypt and decrypt the plainte...

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/06H04L9/00
Inventor 饶竹一张云翔
Owner SHENZHEN POWER SUPPLY BUREAU
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