QR code encryption and decryption method based on electronic signature

An electronic signature, encryption and decryption technology, applied in electronic digital data processing, record carriers used by machines, instruments, etc., can solve the problems of private key transmission, loss of meaning of encryption scheme, etc.

Active Publication Date: 2021-08-10
JINAN UNIVERSITY
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the whole process, how to safely transfer the private key to the user becomes a difficult point. If the private key falls into the hands of criminals, the encryption scheme will lose its meaning

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
  • QR code encryption and decryption method based on electronic signature
  • QR code encryption and decryption method based on electronic signature
  • QR code encryption and decryption method based on electronic signature

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] like figure 1 As shown, this embodiment discloses an electronic signature-based QR code encryption and decryption method, including step S1, generation of electronic signature and QR code; step S2, QR reading APP extracting plaintext information and verifying the authenticity of the signature. The specific implementation process is as follows:

[0035] Step S1, the generation of electronic signature and QR code, the process is as follows:

[0036] S12. Generation of a private key. Randomly generate an m×k dimensional matrix S, the typical value of k is 512, and the typical value of m is 1024. The elements in the matrix S are all integers whose absolute value is not greater than d, and the typical value of d is 1 to 31. The specified matrix S is the private key, which is kept by the generator of the QR code and will not be disclosed to anyone;

[0037] S12. Generation of a public key. Given a certain large number q, its typical value is 2 18 ,2 25 ,2 26 ,2 27 , r...

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 QR code encryption and decryption method based on an electronic signature. According to the invention, a generator of a QR code can generate the electronic signature according to the plaintext information through the private key, the signature and the plaintext generate the QR code together, and the public key of the signature is disclosed to the public at the same time, so that any user can extract the plaintext information through the special QR reading APP and verify the authenticity of the signature through the public key, thereby achieving the purposes of counterfeiting prevention and tampering prevention. A private key used for generating a legal signature is independently kept and not disclosed by a QR code generator; according to the signature, the calculation complexity of recovering the private key by the public key is equal to a small integer solution problem, and the problem cannot be solved by quantum calculation. Therefore, compared with an existing QR code anti-counterfeiting technology, the QR code anti-counterfeiting method is safer and more reliable, the possibility of counterfeiting and tampering is cut off technically, and the quantum security level is reached.

Description

technical field [0001] The invention relates to the technical field of electronic signatures and QR codes, in particular to an encryption and decryption method for QR codes based on electronic signatures. Background technique [0002] QR code (Quick Response Code), also known as Quick Response Matrix Code, is a type of two-dimensional code. Compared with traditional barcodes, QR codes have larger storage capacity, can be printed in a small space, and have strong fault tolerance. With the popularization of smart mobile terminals, QR codes are widely used in services such as information downloads, website jumps, advertisement pushes, mobile payment, and product traceability, which greatly facilitate human business activities and study life. The QR code itself has a certain information encryption function. Professional QR code reading equipment can not only read encrypted information, but also activate the anti-counterfeiting code. Only the activated anti-counterfeiting code c...

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): G06F21/60G06F21/36G06F21/64G06K19/06
CPCG06F21/602G06F21/64G06F21/36G06K19/06037G06K19/06075
Inventor吕善翔王嘉博陈豪娄舒婷覃俊仁劳惠敏
OwnerJINAN UNIVERSITY