CN104636783B - Based on present system time with generate carry Net silver information Quick Response Code method - Google Patents

Based on present system time with generate carry Net silver information Quick Response Code method Download PDF

Info

Publication number
CN104636783B
CN104636783B CN201510086778.3A CN201510086778A CN104636783B CN 104636783 B CN104636783 B CN 104636783B CN 201510086778 A CN201510086778 A CN 201510086778A CN 104636783 B CN104636783 B CN 104636783B
Authority
CN
China
Prior art keywords
sequence number
cipher
quick response
response code
mode
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.)
Active
Application number
CN201510086778.3A
Other languages
Chinese (zh)
Other versions
CN104636783A (en
Inventor
姚为
万宏宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Zhigao Jiahua Technology Co., Ltd
Original Assignee
Beijing Leader Tech Digtal Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Leader Tech Digtal Technology Co Ltd filed Critical Beijing Leader Tech Digtal Technology Co Ltd
Priority to CN201510086778.3A priority Critical patent/CN104636783B/en
Publication of CN104636783A publication Critical patent/CN104636783A/en
Application granted granted Critical
Publication of CN104636783B publication Critical patent/CN104636783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention provide it is a kind of based on present system time with generate carry Net silver information Quick Response Code method, comprise the following steps:Net silver information is inputted in the information input interface during Quick Response Code generates interface, and the Net silver information to being inputted is changed, to obtain the first sequence number corresponding thereto;According to the current display time for the operating system for being implanted with Quick Response Code generation interface, to call a kind of algorithm to carry out cryptographic operation at least once to sequence number, to generate the second sequence number;First sequence number and the second sequence number are arranged, to form sequence number group;Sequence number group input Quick Response Code is generated in interface, to generate the Quick Response Code corresponding with sequence number group.The present invention by present system time to call its corresponding cipher mode, so as to generate the Quick Response Code with encryption function according to the Net silver information that inputs in generating interface in Quick Response Code.

Description

Based on present system time with generate carry Net silver information Quick Response Code method
Technical field
It is especially a kind of to carry the two of Net silver information based on present system time to generate the present invention relates to Quick Response Code field The method for tieing up code.
Background technology
Because enterprise's Net silver information and personal Net silver information belong to one of assets information mostly important with enterprises and individuals, If learnt by other people, it will necessarily just make the assets of enterprises and individuals by serious loss.
With the extensive use of Quick Response Code, Net silver information and planar bar code technology can be bound then to turn into and be badly in need of solving Subject matter.
The content of the invention
Weak point present in regarding to the issue above, the present invention provide it is a kind of by present system time with call and its Corresponding cipher mode, so as to generate two with encryption function according to the Net silver information inputted in Quick Response Code generation interface Dimension code based on present system time with generate carry Net silver information Quick Response Code method.
To achieve the above object, the present invention provide it is a kind of based on present system time with generate carry Net silver information two dimension The method of code, comprises the following steps:
S1, Net silver information is inputted in the information input interface during Quick Response Code generates interface, and the Net silver to being inputted is believed Breath is changed, to obtain the first sequence number corresponding thereto;
S2, the current display time according to the operating system for being implanted with Quick Response Code generation interface, to call a kind of algorithm pair Sequence number carries out cryptographic operation at least once, to generate the second sequence number;
S3, the first sequence number and the second sequence number arranged, to form sequence number group;
S4, by sequence number group input Quick Response Code generation interface, to generate the Quick Response Code corresponding with sequence number group.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S1 In, when the Net silver information inputted includes the identity information of Net silver user, the bank card number mutually bound with Net silver, network bank business Payment cipher and the check code that generates at random.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S2 In, comprise the following steps:
S21, according to the current display time for the operating system for being implanted with Quick Response Code generation interface to determine time interval section Sequence number;
S22, according to time interval section sequence number with selected cipher mode corresponding thereto to obtained in step S1 first Sequence number carries out first time cryptographic operation.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S22 After implementation, in addition to S23:
A kind of cipher mode is called by encryption order pointer, to be carried out to the first sequence number for completing first time cryptographic operation Second of cryptographic operation, to form the second sequence number.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S23 In, encryption order pointer is in random call and chooses to after second of cipher mode, judging second of cipher mode and first time Whether cipher mode is identical cipher mode;
If it is determined that second of cipher mode and first time cipher mode are identical cipher mode, then this time random adjust is abandoned With with selection operation, encryption order pointer is pointed into first time cipher mode, and with this as the starting point, is moved forward or rearward one Pointer position, and the cipher mode using the cipher mode corresponding with current pointer location as second of cryptographic operation.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, cipher mode Including des encryption mode, 3DES encryption mode, TEA cipher modes, XTEA cipher modes, RC4 cipher modes, PANAMA encryptions Mode, Twofish cipher modes, CAST-128 cipher modes, CAST-256 cipher modes, md5 encryption mode and enigma add It is close.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S2 Also need to proceed as follows step before implementation:
To be divided within 00~59 second 11 time interval sections, and by each time interval section respectively with a kind of cipher mode phase Binding, to form 11 one-time pad encryption segments.
It is above-mentioned based on present system time to generate the method for the Quick Response Code for carrying Net silver information, wherein, in step S3 In, the first sequence number is arranged with the second sequence number according to front or rear order, to form sequence number group.
Compared with prior art, the present invention has advantages below:
The present invention by present system time to call its corresponding cipher mode, so as to according to Quick Response Code generate boundary The Net silver information inputted in face is to generate the Quick Response Code with encryption function;
Furthermore it is also possible to carry out different twice encrypt to generating the Net silver information inputted in interface in Quick Response Code as needed The cryptographic operation of mode, the cipher round results of generated Quick Response Code can be improved;
In addition, before second of cryptographic operation is carried out, operation is compared due to being also equipped with cipher mode, therefore, can be avoided Because cryptographic operation twice is the shortcomings that reducing cipher round results using identical cipher mode.
Embodiment
The present invention provide it is a kind of based on present system time with generate carry Net silver information Quick Response Code method, including with Lower step:
S1, Net silver information is inputted in the information input interface during Quick Response Code generates interface, and the Net silver to being inputted is believed Breath is changed, to obtain the first sequence number corresponding thereto.
Wherein, in step sl, the identity information of the Net silver information inputted including Net silver user, mutually bound with Net silver Payment cipher when bank card number, network bank business and the check code generated at random.
S2, the current display time according to the operating system for being implanted with Quick Response Code generation interface, to call a kind of algorithm pair Sequence number carries out cryptographic operation at least once, to generate the second sequence number.
Wherein, in step s 2, comprise the following steps:
S21, according to the current display time for the operating system for being implanted with Quick Response Code generation interface to determine time interval section Sequence number;
S22, according to time interval section sequence number with selected cipher mode corresponding thereto to obtained in step S1 first Sequence number carries out first time cryptographic operation.
If in addition, also need to carry out second of cryptographic operation to the first sequence number for completing first time cryptographic operation, in step After rapid S22 is implemented, in addition to S23:
A kind of cipher mode is called by encryption order pointer, to be carried out to the first sequence number for completing first time cryptographic operation Second of cryptographic operation, to form the second sequence number.
Wherein, in step S23, encryption order pointer is in random call and chooses to after second of cipher mode, judges Whether second of cipher mode and first time cipher mode are identical cipher mode;
If it is determined that second of cipher mode and first time cipher mode are identical cipher mode, then this time random adjust is abandoned With with selection operation, encryption order pointer is pointed into first time cipher mode, and with this as the starting point, is moved forward or rearward one Pointer position, and the cipher mode using the cipher mode corresponding with current pointer location as second of cryptographic operation.
In step S22 and S23, cipher mode include des encryption mode, 3DES encryption mode, TEA cipher modes, XTEA cipher modes, RC4 cipher modes, PANAMA cipher modes, Twofish cipher modes, CAST-128 cipher modes, CAST-256 cipher modes, md5 encryption mode and enigma cipher modes.
In addition, also need to proceed as follows step before step S2 implementations:
To be divided within 00~59 second 11 time interval sections, and by each time interval section respectively with a kind of cipher mode phase Binding, to form 11 one-time pad encryption segments.
Such as:1st encryption segment is mutually bound with des encryption mode, the 2nd encryption segment and 3DES encryption mode are mutually tied up Fixed, the 3rd encryption segment is mutually bound with TEA cipher modes, the 4th encrypts segment and XTEA cipher modes are mutually bound, the 5th encrypts Segment is mutually bound with RC4 cipher modes, the 6th encryption segment and PANAMA cipher modes is mutually bound, the 7th encryption segment and Twofish cipher modes are mutually bound, the 8th encryption segment mutually bound with CAST-128 cipher modes, the 9th encryption segment and CAST-256 cipher modes are mutually bound, the 10th encryption segment mutually bound with md5 encryption mode, the 11st encryption segment and Enigma cipher modes are mutually bound.
S3, the first sequence number and the second sequence number arranged, to form sequence number group.
In step s3, the first sequence number is arranged with the second sequence number according to front or rear order, to form sequence number group.
S4, by sequence number group input Quick Response Code generation interface, to generate the Quick Response Code corresponding with sequence number group.
Wherein, Quick Response Code generation interface can adopt the mode of the inputted sequence number group generation Quick Response Code corresponding with sequence number group With the generating mode that existing Quick Response Code is final.
Only as described above, only presently preferred embodiments of the present invention, professional who are familiar with this art such as. After the technological means for understanding the present invention, natural energy is changed under the teachings of the present invention according to actual needs.Therefore it is all According to the equal change that scope of the present invention patent is made and modification, once should still remain within the scope of the patent.

Claims (1)

1. it is a kind of based on present system time with generate carry Net silver information Quick Response Code method, comprise the following steps:
S1, Net silver information is inputted in the information input interface during Quick Response Code generates interface, and the Net silver information to being inputted is entered Row conversion, to obtain the first sequence number corresponding thereto, in step sl, the Net silver information inputted includes the body of Net silver user Payment cipher when part information, the bank card number mutually bound with Net silver, network bank business and the check code generated at random;
S2, the current display time according to the operating system for being implanted with Quick Response Code generation interface, to call a kind of algorithm to sequence number Cryptographic operation at least once is carried out, to generate the second sequence number, also needs to proceed as follows step before step S2 implementations:
11 time interval sections were divided into by 00 ~ 59 second, and each time interval section is mutually bound with a kind of cipher mode respectively, To form 11 one-time pad encryption segments, in step s 2, comprise the following steps:
S21, according to the current display time for the operating system for being implanted with Quick Response Code generation interface to determine time interval section sequence number;
S22, according to time interval section sequence number with selected cipher mode corresponding thereto to the first sequence number for being obtained in step S1 First time cryptographic operation is carried out, after step S22 implementations, in addition to S23:
A kind of cipher mode is called by encryption order pointer, to carry out second to the first sequence number for completing first time cryptographic operation Secondary cryptographic operation, to form the second sequence number, in step S23, encryption order pointer adds in random call and selection to second After close mode, judge whether second of cipher mode and first time cipher mode are identical cipher mode;
If it is determined that second cipher mode and first time cipher mode be identical cipher mode, then abandon this random call and Selection operation, encryption order pointer is pointed into first time cipher mode, and with this as the starting point, be moved forward or rearward a pointer Position, and the cipher mode using the cipher mode corresponding with current pointer location as second of cryptographic operation;
S3, the first sequence number and the second sequence number arranged, to form sequence number group, in step s3, by the first sequence number and second Sequence number is arranged according to front or rear order, to form sequence number group;
S4, by sequence number group input Quick Response Code generation interface, to generate the Quick Response Code corresponding with sequence number group, cipher mode includes Des encryption mode, 3DES encryption mode, TEA cipher modes, XTEA cipher modes, RC4 cipher modes, PANAMA cipher modes, Twofish cipher modes, CAST-128 cipher modes, CAST-256 cipher modes, md5 encryption mode and enigma are encrypted.
CN201510086778.3A 2015-02-25 2015-02-25 Based on present system time with generate carry Net silver information Quick Response Code method Active CN104636783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510086778.3A CN104636783B (en) 2015-02-25 2015-02-25 Based on present system time with generate carry Net silver information Quick Response Code method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510086778.3A CN104636783B (en) 2015-02-25 2015-02-25 Based on present system time with generate carry Net silver information Quick Response Code method

Publications (2)

Publication Number Publication Date
CN104636783A CN104636783A (en) 2015-05-20
CN104636783B true CN104636783B (en) 2018-03-02

Family

ID=53215511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510086778.3A Active CN104636783B (en) 2015-02-25 2015-02-25 Based on present system time with generate carry Net silver information Quick Response Code method

Country Status (1)

Country Link
CN (1) CN104636783B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550727B (en) * 2015-12-22 2019-09-03 艾体威尔电子技术(北京)有限公司 A method of electronic receipt is made using planar bar code technology
CN106250956A (en) * 2016-08-02 2016-12-21 立德高科(昆山)数码科技有限责任公司 According to the interval method and system generating Quick Response Code with the information of appointment of selected code value
CN106790510B (en) * 2016-12-16 2020-07-31 北京小米移动软件有限公司 Method, device and system for generating serial number
CN109409471B (en) * 2017-08-18 2021-08-31 重庆赫皇科技咨询有限公司 Two-dimensional code generation method and generation system thereof
CN109615778B (en) * 2018-10-16 2021-03-02 浙江工业大学 Rotatory material formula warehouse style boxed meal system of selling of getting
CN109448257A (en) * 2018-10-16 2019-03-08 浙江工业大学 A kind of packed meal automatic vending system based on sheave driving
CN109615770A (en) * 2018-10-16 2019-04-12 浙江工业大学 A kind of warehouse style packed meal automatic vending system of racetrack of the expired prompting function of band
CN109615779B (en) * 2018-10-16 2021-04-27 浙江工业大学 Replenishment method of automatic food vending machine
CN109615772A (en) * 2018-10-16 2019-04-12 浙江工业大学 A kind of packed meal automatic vending system based on sheave driving of shipment by date

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009282875A (en) * 2008-05-26 2009-12-03 Toshinori Matsuki Unified system of order, payment and delivery of product by two dimensional code
CN101295343B (en) * 2008-06-19 2011-05-18 福建鸿博印刷股份有限公司 Two-dimensional code multi-enciphering anti-fake printing method
CN101404056B (en) * 2008-10-29 2011-03-16 金蝶软件(中国)有限公司 Software protection method, apparatus and equipment
CN102842081A (en) * 2011-06-23 2012-12-26 上海易悠通信息科技有限公司 Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN103198344B (en) * 2013-03-01 2015-09-09 重庆市远大印务有限公司 Tax control secure two-dimensional code coding, decoding processing method

Also Published As

Publication number Publication date
CN104636783A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104636783B (en) Based on present system time with generate carry Net silver information Quick Response Code method
CN105005802B (en) Based on present system time to generate the method for Quick Response Code
Rezaeighaleh et al. New secure approach to backup cryptocurrency wallets
CN104200143A (en) Method and system for inputting password into intelligent mobile terminal rapidly through wearable device
TW201251412A (en) Encryption processing device, encryption processing method, and programme
CN107145792A (en) Multi-user's secret protection data clustering method and system based on ciphertext data
CN102510378A (en) Method for logging in online game through mobile equipment
CN104318437B (en) Payment system and its method of payment in a kind of virtual prepayment card line
CN107276754A (en) A kind of method and device that private key is largely generated based on block chain
US20200111095A1 (en) Systems and methods for amplifying the strength of cryptographic algorithms
CN104883681B (en) A kind of mobile RFID mutual authentication method based on Dynamic-shared key
CN107846275A (en) The method and device of network security of cutting into slices isolation
CN101656007A (en) Safe system realizing one machine with multiple ciphers on POS machine and method thereof
Fadlil et al. Data Security for School Service Top-Up Transactions Based on AES Combination Blockchain Technology Modification
Li et al. Cryptanalysis of round-reduced ASCON.
CN109670826A (en) Anti- quantum calculation block chain method of commerce based on unsymmetrical key pond
CN104715370A (en) Method and system for carrying out safety payment based on encrypted two-dimension code
CN103259647A (en) Encryption system side channel attack test method
CN108460625A (en) A kind of discount coupon granting and exchange check and management system
CN109951273A (en) A kind of SM4 algorithm whitepack implementation method and device
CN103595523B (en) A file encryption method
CN103593592B (en) User data encryption and decryption method
CN104618092A (en) Information encryption method and system
CN104871476B (en) The method and apparatus for replacing box for that can calculate, large-scale, variable and safe
CN104767622B (en) Encryption method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191107

Address after: Room 10602, Building 1, Wangjing International Building, Fengcheng Sixth Road, Xi'an Economic and Technological Development Zone, Shaanxi 710000

Patentee after: Shaanxi one intellectual property operation Co., Ltd.

Address before: 100081 Beijing city Haidian District Daliushu Road No. 17 Fu Hai Hong Kong International room 803

Patentee before: LIDE HIGH TECHNOLOGY (BEIJING) DIGITAL SCIENCE AND TECHNOLOGY CO., LTD.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191120

Address after: 215500 No.18, Zengfu Road, Baimao, Guli Town, Changshu, Suzhou, Jiangsu Province

Patentee after: Suzhou Zhigao Jiahua Technology Co., Ltd

Address before: Room 10602, Building 1, Wangjing International Building, Fengcheng Sixth Road, Xi'an Economic and Technological Development Zone, Shaanxi 710000

Patentee before: Shaanxi one intellectual property operation Co., Ltd.

TR01 Transfer of patent right