摘要
设计开发一种基于RSA非对称加密算法的安全锁系统。该系统由两部分组成,基于STM32单片机的硬件部分,和基于Android操作系统的APP部分。提前分别在单片机和Android APP的源代码内置匹配的公钥、私钥。开锁时,由单片机生成1013-1020位的随机数,再进行公钥加密。APP利用私钥解密,从而进行开锁操作。该系统每次的口令都不一样,被非法暴力破解的可能性很小,极大地提高了锁系统的安全性、可靠性,使用手机APP开锁,也极大地提高了锁具使用的便利性,有效提高用户体验。
Design and develop a security lock system based on RSA asymmetric encryption algorithm.The system consists of two parts,the hardware part based on STM32 MCU and the APP based on android operating system.When the source code of MCU and Android APP are matched with public key,private key and unlocking in advance,1013-1020 bit random numbers are generated by MCU,and then public key encryption is carried.APP decrypts with the private key for unlocking operations.The system has different passwords every time,and the chance of being cracked by illegal force is very small.The security and reliability of the lock system are greatly improved.Unlocking with APP in the mobile phone also greatly improves the convenience of using locks,and improves the user experience effectively.
作者
郭红波
戴德伟
马慧彬
徐玉召
GUO Hong-bo;DAI De-wei;MA Hui-bin;XU Yu-zhao(School of information and electronic technology,Jiamusi University,Jiamusi 154007,China)
出处
《电脑与信息技术》
2019年第1期34-36,共3页
Computer and Information Technology
基金
黑龙江省大学生创新创业训练项目(项目编号:201810222021)