CN104598952A - Special two-dimensional code corresponding to recorded letter content and generation method thereof - Google Patents
Special two-dimensional code corresponding to recorded letter content and generation method thereof Download PDFInfo
- Publication number
- CN104598952A CN104598952A CN201510078779.3A CN201510078779A CN104598952A CN 104598952 A CN104598952 A CN 104598952A CN 201510078779 A CN201510078779 A CN 201510078779A CN 104598952 A CN104598952 A CN 104598952A
- Authority
- CN
- China
- Prior art keywords
- cipher mode
- quick response
- response code
- sequence number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000002123 temporal effect Effects 0.000 claims description 6
- 241000845082 Panama Species 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a special two-dimensional code corresponding to recorded letter content. The two-dimensional code contains encrypted information allowing a letter receiver to view in the generating process. A special two-dimensional code generation method includes inputting information allowing the letter receiver to view in an information input interface of a two-dimensional code generation interface, converting the input information to acquire a first serial number corresponding to the information; according to the current display time of an operation system with an transplanted two-dimensional code generation interface, calling an algorithm to perform at least once encryption on the serial number to generate a second serial number; arraying the first serial number and the second serial number to form a serial number group; inputting the serial number group into the two-dimensional code generation interface, and generating a two-dimensional code corresponding to the serial number group. The encryption manner corresponding to the current system time is called, and the letter content information input into the two-dimensional code generation interface is encrypted accordingly.
Description
Technical field
The present invention relates to Quick Response Code field, especially a kind of special Quick Response Code corresponding with recorded contents in mail and generation method thereof.
Background technology
At present, existing Quick Response Code generating mode is all to generate corresponding Quick Response Code according to the information inputted in Quick Response Code generation interface.Owing to not possessing encryption function in generative process, therefore, the Quick Response Code generated can read by a lot of people, identify.
But, because the information comprised in Quick Response Code is with certain crypticity, if be not encrypted, secret information can be learnt by other people, be not suitable for being used to use in the enterprising enforcement of mail contact.
Based on the problems referred to above, be badly in need of a special Quick Response Code corresponding with recorded contents in mail that can be encrypted inputted mail information and generation method.
Summary of the invention
For the weak point existed in the problems referred to above, the invention provides a kind of by present system time to call its corresponding cipher mode, thus to generating the special Quick Response Code corresponding with recorded contents in mail and generation method thereof that the mail internal information that inputs in interface is encrypted at Quick Response Code.
For achieving the above object, the invention provides a kind of special Quick Response Code corresponding with recorded contents in mail, this Quick Response Code is printed on inside the envelope for filling mail, and this Quick Response Code includes in generative process can be checked by receiver and pass through the information of encrypting.
The above-mentioned special Quick Response Code corresponding with recorded contents in mail, wherein, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
The present invention also provides a kind of method generating the special Quick Response Code corresponding with recorded contents in mail, comprises the following steps:
S1, to generate in interface information input interface at Quick Response Code in input wish the information that mail recipient checks, and inputted information to be changed, to obtain the first sequence number corresponding thereto;
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number;
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group;
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein in step sl, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein, in step s 2, comprises the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein, after step S22 implements, also comprises S23:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma and encrypts.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, wherein, also needs to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
The method of the special Quick Response Code that above-mentioned generation is corresponding with recorded contents in mail, is characterized in that, in step s3, the first sequence number and the second sequence number is arranged according to front or rear order, to form sequence number group.
Compared with prior art, the present invention has the following advantages:
The present invention, thus to be encrypted generating in interface at Quick Response Code the mail internal information inputted to call its corresponding cipher mode by present system time;
Receiver is scanned the Quick Response Code in the present invention by special two dimension code reading APP, can learn the communications content information that sender writes;
In addition, can also generate at Quick Response Code the cryptographic operation that the information inputted in interface carries out twice different cipher mode as required, the cipher round results of generated Quick Response Code can be improved;
In addition, before carrying out second time cryptographic operation, owing to also possessing cipher mode comparison operation, therefore, can avoid because twice cryptographic operation is all the shortcomings adopting identical cipher mode and make cipher round results reduce.
Embodiment
The invention provides a kind of special Quick Response Code corresponding with recorded contents in mail, this Quick Response Code includes in generative process can be checked by mail recipient and pass through the information of encrypting.
Wherein, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
In addition, also comprised mail by the enciphered message that mail recipient checks to send people and want the next one to want the sight spot information of travelling.
The present invention also provides a kind of method generating the special Quick Response Code corresponding with recorded contents in mail, comprises the following steps:
S1, to generate in interface information input interface at Quick Response Code in input information, and inputted information to be changed, to obtain the first sequence number corresponding thereto.
Wherein, in step sl, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number.
Wherein, in step s 2, comprise the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
In addition, if also need the first sequence number to completing first time cryptographic operation to carry out second time cryptographic operation, then, after step S22 implements, also S23 is comprised:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
Wherein, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
In step S22 and S23, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma cipher mode.
In addition, also need to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
Such as: the 1st encryption segment is bound mutually with des encryption mode, 2nd encryption segment is bound mutually with 3DES cipher mode, 3rd encryption segment is bound mutually with TEA cipher mode, 4th encryption segment is bound mutually with XTEA cipher mode, 5th encryption segment is bound mutually with RC4 cipher mode, 6th encryption segment is bound mutually with PANAMA cipher mode, 7th encryption segment is bound mutually with Twofish cipher mode, 8th encryption segment is bound mutually with CAST-128 cipher mode, 9th encryption segment is bound mutually with CAST-256 cipher mode, 10th encryption segment is bound mutually with md5 encryption mode, 11st encryption segment is bound mutually with enigma cipher mode.
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group.
In step s3, the first sequence number and the second sequence number are arranged according to front or rear order, to form sequence number group.
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
Wherein, Quick Response Code generates the generating mode that the mode that inputted sequence number group generates the Quick Response Code corresponding with sequence number group can adopt existing Quick Response Code final by interface.
Only as described above, be only preferred embodiment of the present invention, such as professional who are familiar with this art.After understanding technological means of the present invention, natural energy, according to actual needs, is changed under the teachings of the present invention.Therefore all equal changes of doing according to the present patent application the scope of the claims and modification, once should still remain within the scope of the patent.
Claims (10)
1. a special Quick Response Code corresponding with recorded contents in mail, is characterized in that, this Quick Response Code is printed on inside the envelope for filling mail, and this Quick Response Code includes in generative process can be checked by receiver and pass through the information of encrypting.
2. the special Quick Response Code corresponding with recorded contents in mail according to claim 1, is characterized in that, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
3. generate a method for the special Quick Response Code corresponding with recorded contents in mail, comprise the following steps:
S1, to generate in interface information input interface at Quick Response Code in input wish the information that mail recipient checks, and inputted information to be changed, to obtain the first sequence number corresponding thereto;
S2, according to implanting the current display time of operating system having Quick Response Code to generate interface, to call a kind of algorithm, cryptographic operation is at least one times carried out to sequence number, to generate the second sequence number;
S3, the first sequence number and the second sequence number to be arranged, to form sequence number group;
S4, sequence number group input Quick Response Code to be generated in interface, to generate the Quick Response Code corresponding with sequence number group.
4. the method for the special Quick Response Code that generation according to claim 3 is corresponding with recorded contents in mail, it is characterized in that, in step sl, the enciphered message that receiver checks comprises sender and writes the temporal information generated to the content information of receiver and this Quick Response Code.
5. the method for the special Quick Response Code that generation according to claim 3 is corresponding with recorded contents in mail, is characterized in that, in step s 2, comprises the following steps:
S21, Quick Response Code is had to generate the current display time of operating system at interface to determine time interval section sequence number according to implanting;
S22, with selected cipher mode corresponding thereto, first time cryptographic operation is carried out to the first sequence number obtained in step S1 according to time interval section sequence number.
6. the method for the special Quick Response Code that generation according to claim 5 is corresponding with recorded contents in mail, is characterized in that, after step S22 implements, also comprises S23:
A kind of cipher mode is called, to carry out second time cryptographic operation, to form the second sequence number to the first sequence number completing first time cryptographic operation by encryption order pointer.
7. the method for the special Quick Response Code that generation according to claim 5 is corresponding with recorded contents in mail, it is characterized in that, in step S23, encryption order pointer is at random call and after choosing second time cipher mode, judges whether second time cipher mode is identical cipher mode with cipher mode for the first time;
If judge, second time cipher mode and for the first time cipher mode are as identical cipher mode, then abandon this random call and selection operation, by encryption order pointed first time cipher mode, and with this as the starting point, a mobile pointer position forward or backward, and using the cipher mode of the cipher mode corresponding with current pointer location as second time cryptographic operation.
8. according to the method for described generation arbitrary in claim 5 to the 7 special Quick Response Code corresponding with recorded contents in mail, it is characterized in that, cipher mode comprises des encryption mode, 3DES cipher mode, TEA cipher mode, XTEA cipher mode, RC4 cipher mode, PANAMA cipher mode, Twofish cipher mode, CAST-128 cipher mode, CAST-256 cipher mode, md5 encryption mode and enigma and encrypts.
9. the method for the special Quick Response Code that generation according to claim 8 is corresponding with recorded contents in mail, is characterized in that, also needs to proceed as follows step before step S2 implements:
00 ~ 59 second is divided into 11 time interval sections, and each time interval section is bound mutually with a kind of cipher mode respectively, once encrypt segment to form 11.
10. the method for the special Quick Response Code that generation according to claim 3 is corresponding with recorded contents in mail, is characterized in that, in step s3, the first sequence number and the second sequence number is arranged according to front or rear order, to form sequence number group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510078779.3A CN104598952A (en) | 2015-02-13 | 2015-02-13 | Special two-dimensional code corresponding to recorded letter content and generation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510078779.3A CN104598952A (en) | 2015-02-13 | 2015-02-13 | Special two-dimensional code corresponding to recorded letter content and generation method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104598952A true CN104598952A (en) | 2015-05-06 |
Family
ID=53124724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510078779.3A Pending CN104598952A (en) | 2015-02-13 | 2015-02-13 | Special two-dimensional code corresponding to recorded letter content and generation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598952A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101368A (en) * | 2016-07-07 | 2016-11-09 | 立德高科(昆山)数码科技有限责任公司 | The method and system of Quick Response Code have been generated based on telephonograph |
CN106203565A (en) * | 2016-07-01 | 2016-12-07 | 立德高科(昆山)数码科技有限责任公司 | Photo remarks Quick Response Code and the method for generation thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404056A (en) * | 2008-10-29 | 2009-04-08 | 金蝶软件(中国)有限公司 | Software protection method, apparatus and equipment |
CN102546174A (en) * | 2011-12-20 | 2012-07-04 | 贾松仁 | Two-dimensional code encryption/decryption method and anti-counterfeiting method |
US20130008954A1 (en) * | 1994-05-25 | 2013-01-10 | Marshall Feature Recognition, Llc | Method and apparatus for accessing electronic data via a familiar printed medium |
CN102956005A (en) * | 2011-08-24 | 2013-03-06 | 中国移动通信集团设计院有限公司 | Anti-counterfeiting method, anti-counterfeiting system and packaging structure |
CN103198344A (en) * | 2013-03-01 | 2013-07-10 | 重庆市远大印务有限公司 | Tax-control safety two-dimensional code encoding and decoding processing method |
CN103269269A (en) * | 2013-05-08 | 2013-08-28 | 吴伟 | File encryption transmission method based on two-dimensional bar code technology |
-
2015
- 2015-02-13 CN CN201510078779.3A patent/CN104598952A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130008954A1 (en) * | 1994-05-25 | 2013-01-10 | Marshall Feature Recognition, Llc | Method and apparatus for accessing electronic data via a familiar printed medium |
CN101404056A (en) * | 2008-10-29 | 2009-04-08 | 金蝶软件(中国)有限公司 | Software protection method, apparatus and equipment |
CN102956005A (en) * | 2011-08-24 | 2013-03-06 | 中国移动通信集团设计院有限公司 | Anti-counterfeiting method, anti-counterfeiting system and packaging structure |
CN102546174A (en) * | 2011-12-20 | 2012-07-04 | 贾松仁 | Two-dimensional code encryption/decryption method and anti-counterfeiting method |
CN103198344A (en) * | 2013-03-01 | 2013-07-10 | 重庆市远大印务有限公司 | Tax-control safety two-dimensional code encoding and decoding processing method |
CN103269269A (en) * | 2013-05-08 | 2013-08-28 | 吴伟 | File encryption transmission method based on two-dimensional bar code technology |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106203565A (en) * | 2016-07-01 | 2016-12-07 | 立德高科(昆山)数码科技有限责任公司 | Photo remarks Quick Response Code and the method for generation thereof |
CN106101368A (en) * | 2016-07-07 | 2016-11-09 | 立德高科(昆山)数码科技有限责任公司 | The method and system of Quick Response Code have been generated based on telephonograph |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110100422B (en) | Data writing method, device and storage medium based on blockchain smart contract | |
CN105101183B (en) | The method and system that privacy content on mobile terminal is protected | |
CN104616042A (en) | Special two-dimensional code corresponding to gift detail and generation mode of special two-dimensional code | |
CN105005802A (en) | Method for generating two-dimensional code on basis of current system time | |
CN105141635A (en) | Method and system for safe communication of group sending messages | |
CN104243149A (en) | Encrypting and decrypting method, device and server | |
CN114374518B (en) | PSI (program specific information) intersection information acquisition method and device with intersection counting function and storage medium | |
CN101374251A (en) | Method for encrypting short message and used terminal equipment thereof | |
CN106817346A (en) | Data transmission method and device and electronic equipment | |
CN103441841A (en) | Automatic encrypting and decrypting system and method for welding data | |
CN104640091B (en) | A kind of SMS encryption communication method | |
CN102394746B (en) | Data transmission method of weighing system based on digital sensor | |
CN107070874A (en) | System, encryption method and the device of broadcast communication, decryption method and device | |
CN101841785B (en) | Method for sending encrypted message by cellphone and system thereof | |
CN104598952A (en) | Special two-dimensional code corresponding to recorded letter content and generation method thereof | |
CN108390755A (en) | The safe input method of SIM pasting cards based on built-in security chip | |
CN104270365A (en) | Method for encryption compression and decryption of position information | |
CN104616043A (en) | Special two-dimensional code corresponding to information recorded in postcard and generation method of two-dimensional code | |
US11184154B2 (en) | Method for sequentially encrypting and decrypting doubly linked lists based on double key stream ciphers | |
US11212097B2 (en) | Mixed unary cryptography | |
CN104657764A (en) | Special two-dimensional code corresponding to ticket information and generation method of special two-dimensional code | |
CN104618355B (en) | A kind of safety storage and the method for transmission data | |
CN106101368A (en) | The method and system of Quick Response Code have been generated based on telephonograph | |
CN105634729A (en) | Mobile phone encryption and decryption method based on bluetooth equipment | |
CN103795524B (en) | Dynamic SMS encryption based on 3DES, decryption method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150506 |
|
WD01 | Invention patent application deemed withdrawn after publication |