Password generating method and device and smart lock
The invention discloses a password generating method and device and a smart lock. The method comprises the steps: acquiring a serial number of the smart lock; carrying out encryption operation on the serial number of the smart lock by using a preset initial key, so as to obtain a key of the smart lo...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a password generating method and device and a smart lock. The method comprises the steps: acquiring a serial number of the smart lock; carrying out encryption operation on the serial number of the smart lock by using a preset initial key, so as to obtain a key of the smart lock; acquiring a password group serial number input by a user; filling the password group serial number, so as to obtain a digit group of the password group serial number; carrying out encryption operation on the digit group of the password group serial number by using the key of the smart lock, thereby obtaining a first dynamic password. According to the password generating method and device and the smart lock, the technical problem in the prior art that the password safety performance of the smart lock is low is solved.
本发明公开了种密码生成方法、装置和智能锁。其中,该方法包括:获取智能锁编号;使用预设初始密钥对智能锁编号进行加密运算,得到智能锁的密钥;获取用户输入的密码组编号;将密码组编号进行填充,得到密码组编号数组;使用智能锁的密钥对密码组编号数组进行加密运算,得到第动态密码。本发明解决了现有技术中智能锁密码安全性能低的技术问题。 |
---|