[go: up one dir, main page]

CN104331987A - Encryption method for unlocking passwords of coil inserting machine of bus - Google Patents

Encryption method for unlocking passwords of coil inserting machine of bus Download PDF

Info

Publication number
CN104331987A
CN104331987A CN201410467700.1A CN201410467700A CN104331987A CN 104331987 A CN104331987 A CN 104331987A CN 201410467700 A CN201410467700 A CN 201410467700A CN 104331987 A CN104331987 A CN 104331987A
Authority
CN
China
Prior art keywords
handle
password
lock
passwords
cipher
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.)
Granted
Application number
CN201410467700.1A
Other languages
Chinese (zh)
Other versions
CN104331987B (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.)
ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU TIANMAI 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 ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd filed Critical ZHENGZHOU TIANMAI TECHNOLOGY Co Ltd
Priority to CN201410467700.1A priority Critical patent/CN104331987B/en
Publication of CN104331987A publication Critical patent/CN104331987A/en
Application granted granted Critical
Publication of CN104331987B publication Critical patent/CN104331987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an encryption method for unlocking passwords of a coil inserting machine of a bus. The method comprises the following steps of 1, setting a plurality of groups of unlocking passwords; 2, respectively inputting the passwords into a handle, and numbering the passwords; 3, enabling the handle to input the passwords into a lock; 4, enabling the handle to encrypt the passwords respectively; 5, during unlocking, enabling the lock to randomly select a number, and sending the selection code of the selected number to the handle; 6, enabling the handle to send a ciphertext to the lock; 7, decrypting the lock, so as to obtain the password plaintext. The method has the advantages that the application method with multiple passwords is provided, the automatic password identification of the lock is realized, and the safety of the coin inserting machine is improved.

Description

A kind of slot machine used in bus unlocking cipher encryption method
Technical field
The present invention relates to a kind of data ciphering method, especially relate to a kind of slot machine used in bus unlocking cipher encryption method.
Background technology
The password that on existing bus, slot machine is unblanked is that a fixing password divide into multistage, and having multiple people to preserve (namely a people preserves one section of password), when unblanking, inputted in order in handle by multistage password, is also that many people input during input.This single cipher is divided into the form of unblanking of many groups, just a kind of cipher mode, and considering may the data of person who is ambitious or tenacious of purpose when intercepting communication, and only need to crack an infill layer, the form of single password is easily stolen, and there is potential safety hazard.
Summary of the invention
In view of this, the object of this invention is to provide a kind of slot machine used in bus unlocking cipher encryption method, propose the application process of many passwords, reach the function of the automatic recognition code of lock energy, improve slot machine degree of safety.
For achieving the above object, the present invention by the following technical solutions:
A kind of slot machine used in bus unlocking cipher encryption method, wherein, comprises the steps:
Step 1, arranges and organizes unlocking cipher more; Multiple cipher is distributed to multiple people to preserve, everyone preserves one group of password;
Step 2, multiple cipher all inputs in handle, and is numbered this multiple cipher, often organizes codon pair and answers a numbering;
Step 3, handle is by multiple cipher input lock;
Step 4, multiple cipher is carried out first time encryption by handle respectively, and cryptographic algorithm formula is: b n=f n(a n), n is the group number of password, a nbe n-th group of password, b nfor cryptographic secret, f nfor cryptographic algorithm; Often organize the cryptographic algorithm f of password nall not identical;
Step 5, when unblanking, by lock random selecting one numbering, and sends the option code of selected numbering to handle;
Step 6, handle carries out second time encryption according to the option code received to one of corresponding numbering group of password, and sends ciphertext d to lock n=f (b n), b nfor cryptographic secret, f is unified cryptographic algorithm, d nfor cryptographic secret;
Step 7, obtains decodement after being locked into row twice deciphering.
The invention has the beneficial effects as follows:
The present invention changes single password of the prior art into many cryptogram form, and handle can store multiple cipher, and is numbered to each group password, and lock can be unblanked according to the numbering passwords of random selecting, obtains decodement by twice deciphering.It is random for often organizing choosing of password, selects by locking, instead of handle.Like this, if monitored the data of handle and lock by technological means, because the communication data of handle and lock is cryptographic secret, can guarantee that the decodement of each communication is all different, increase the difficulty cracked.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
As shown in Figure 1, of the present inventionly to comprise the following steps:
Step 1, arranges and organizes unlocking cipher more; Multiple cipher is distributed to multiple people to preserve, everyone preserves one group of password;
Step 2, multiple cipher all inputs in handle, and is numbered this multiple cipher, often organizes codon pair and answers a numbering;
Step 3, handle is by multiple cipher input lock;
Step 4, multiple cipher is carried out first time encryption by handle respectively, and cryptographic algorithm formula is: b n=f n(a n), n is the group number of password, a nbe n-th group of password, b nfor cryptographic secret, f nfor cryptographic algorithm; Often organize the cryptographic algorithm f of password nall not identical;
Step 5, when unblanking, by lock random selecting one numbering, and sends the option code of selected numbering to handle;
Step 6, handle carries out second time encryption according to the option code received to one of corresponding numbering group of password, and sends ciphertext d to lock n=f (b n), b nfor cryptographic secret, f is unified cryptographic algorithm, d nfor cryptographic secret; What no matter lock was selected is that option code, and handle can be all that cipher code set adds one deck password again with unified cryptographic algorithm f before being transmitted;
Step 7, obtains decodement after being locked into row twice deciphering.Prestore corresponding decipherment algorithm in lock, be decrypted according to decipherment algorithm, obtain decodement.
The present invention is that the password of unblanking has many groups for the embodiment of the application process of this many passwords, and everyone inputs one group, and this multiple cipher is all input in handle, and this time just exists multiple cipher in handle, and is numbered this multiple cipher.By handle, whole multiple ciphers is input in lock, the program of a lock the inside design random selecting password, when handle is unblanked, a certain group of password in lock random selecting handle, and identify that this group password is as the password of unblanking, and could unpack when this group password is correct.It is random for often organizing choosing of password, selects by locking, instead of handle.
The program of a random selecting numbering passwords is write in lock, write multiple cipher in the handle and be numbered to these passwords, when handle is unblanked, lock can be selected one at random and number the numbering of then mating in handle, and unblanks with the password of this numbering.The group of password is several determines according to actual conditions, in the present embodiment, suppose there are 4 groups of passwords, these 4 groups of passwords are respectively a1, a2, a3, a4, after these 4 groups of passwords are written to handle, handle can be encrypted decodement according to the algorithm of correspondence, and each group password all can have an one's own algorithm, the cryptographic secret deposited in concrete handle, namely b1, b2, b3, b4 are as follows:
b 1=f 1(a 1);
b 2=f 2(a 2);
b 3=f 3(a 3);
b 4=f 4(a 4);
Wherein f 1, f 2, f 3, f 4represent different algorithms.
When handle will be unblanked, lock first sends the option code of selected numbering to handle, then handle gives lock transmission a cryptographic secret according to option code, can encrypt one deck again before being transmitted, d in data n=f (b n), this algorithm (f is unified algorithm) is the same, and what no matter lock selection is that option code, and handle all can add one deck password before being transmitted again.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, other amendments that those of ordinary skill in the art make technical scheme of the present invention or equivalently to replace, only otherwise depart from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of right of the present invention.

Claims (1)

1. a slot machine used in bus unlocking cipher encryption method, is characterized in that: comprise the steps:
Step 1, arranges and organizes unlocking cipher more; Multiple cipher is distributed to multiple people to preserve, everyone preserves one group of password;
Step 2, multiple cipher all inputs in handle, and is numbered this multiple cipher, often organizes codon pair and answers a numbering;
Step 3, handle is by multiple cipher input lock;
Step 4, multiple cipher is carried out first time encryption by handle respectively, and cryptographic algorithm formula is: b n=f n(a n), n is the group number of password, a nbe n-th group of password, b nfor cryptographic secret, f nfor cryptographic algorithm; Often organize the cryptographic algorithm f of password nall not identical;
Step 5, when unblanking, by lock random selecting one numbering, and sends the option code of selected numbering to handle;
Step 6, handle carries out second time encryption according to the option code received to one of corresponding numbering group of password, and sends ciphertext d to lock n=f(b n), b nfor cryptographic secret, f is unified cryptographic algorithm, d nfor cryptographic secret;
Step 7, obtains decodement after being locked into row twice deciphering.
CN201410467700.1A 2014-09-15 2014-09-15 Encryption method for unlocking passwords of coil inserting machine of bus Active CN104331987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410467700.1A CN104331987B (en) 2014-09-15 2014-09-15 Encryption method for unlocking passwords of coil inserting machine of bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410467700.1A CN104331987B (en) 2014-09-15 2014-09-15 Encryption method for unlocking passwords of coil inserting machine of bus

Publications (2)

Publication Number Publication Date
CN104331987A true CN104331987A (en) 2015-02-04
CN104331987B CN104331987B (en) 2017-01-25

Family

ID=52406706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410467700.1A Active CN104331987B (en) 2014-09-15 2014-09-15 Encryption method for unlocking passwords of coil inserting machine of bus

Country Status (1)

Country Link
CN (1) CN104331987B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109403738A (en) * 2018-12-14 2019-03-01 温州市龙湾海伦五金厂 A kind of intelligent fingerprint lock for reinforcing anti-theft performance
CN110223423A (en) * 2019-06-06 2019-09-10 宁波盛威卓越安全设备有限公司 Lockset emergency management method and system based on electronic information security

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128737A (en) * 1998-04-20 2000-10-03 Microsoft Corporation Method and apparatus for producing a message authentication code in a cipher block chaining operation by using linear combinations of an encryption key
CN1484131A (en) * 2002-09-21 2004-03-24 陈利文 Portable password input method and equipment thereof
JP2004180318A (en) * 2002-11-26 2004-06-24 Matsushita Electric Ind Co Ltd Data encryption or decryption method and data encryption or decryption device
CN102437910A (en) * 2011-10-18 2012-05-02 国家超级计算深圳中心(深圳云计算中心) Data encryption/decryption checking method and system
CN103326851A (en) * 2013-07-03 2013-09-25 西京学院 Compass encryption and decryption method based on single chip microcomputer
CN103684794A (en) * 2013-12-25 2014-03-26 华南理工大学 A Communication Data Encryption and Decryption Method Based on DES, RSA, and SHA-1 Encryption Algorithms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128737A (en) * 1998-04-20 2000-10-03 Microsoft Corporation Method and apparatus for producing a message authentication code in a cipher block chaining operation by using linear combinations of an encryption key
CN1484131A (en) * 2002-09-21 2004-03-24 陈利文 Portable password input method and equipment thereof
JP2004180318A (en) * 2002-11-26 2004-06-24 Matsushita Electric Ind Co Ltd Data encryption or decryption method and data encryption or decryption device
CN102437910A (en) * 2011-10-18 2012-05-02 国家超级计算深圳中心(深圳云计算中心) Data encryption/decryption checking method and system
CN103326851A (en) * 2013-07-03 2013-09-25 西京学院 Compass encryption and decryption method based on single chip microcomputer
CN103684794A (en) * 2013-12-25 2014-03-26 华南理工大学 A Communication Data Encryption and Decryption Method Based on DES, RSA, and SHA-1 Encryption Algorithms

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109403738A (en) * 2018-12-14 2019-03-01 温州市龙湾海伦五金厂 A kind of intelligent fingerprint lock for reinforcing anti-theft performance
CN109403738B (en) * 2018-12-14 2021-03-23 温州市龙湾海伦五金厂 Intelligent fingerprint lock with enhanced anti-theft performance
CN110223423A (en) * 2019-06-06 2019-09-10 宁波盛威卓越安全设备有限公司 Lockset emergency management method and system based on electronic information security

Also Published As

Publication number Publication date
CN104331987B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
US9430657B2 (en) Data encryption system and method
US11074332B2 (en) Methods and systems of securely transferring data
KR101834504B1 (en) Apparatus and method for encrypting and decrypting
CN101043326B (en) Dynamic information encrypting system and method
CN106576098B (en) The authentication engine and crossfire crypto engine being shared in digital content protection framework
CN101859351B (en) System and method for ensuring safe read of data stored in storage
CN103236934B (en) A kind of method of cloud storage security control
CN106598882A (en) Secure memory data protection method and device
CN103560892A (en) Secret key generation method and secret key generation device
CN107707562B (en) Method and device for encrypting and decrypting algorithm of asymmetric dynamic token
US11438156B2 (en) Method and system for securing data
CN104038336A (en) Data encryption method based on 3DES
CN113079002B (en) Data encryption method, data decryption method, key management method, medium, and device
KR101413427B1 (en) Apparatas and method for security message transmission and reception of vehicle network
CN103313097B (en) Method and system for encrypting and decrypting encoded file
Gitanjali et al. ASCII based cryptography using unique id, matrix multiplication and palindrome number
CN103501220B (en) encryption method and device
CN104331987A (en) Encryption method for unlocking passwords of coil inserting machine of bus
CN104954362A (en) Serial number encryption-decryption method and device
KR101602803B1 (en) The encryption and decryption Method of using to polarization
CN104966014A (en) Terminal encryption method and apparatus and terminal decryption method and apparatus
CN112152963B (en) A smart lock, security platform and authentication method thereof
GB2579884A (en) Methods and systems of securely transferring data
CN100486157C (en) Distribution type data encryption method
CN117216777A (en) Trusted verification method and system for key data of industrial control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant