摘要
QR码是目前应用较为广泛的一种二维码,具有超高速全方位识读、编码字符广泛、能更有效表示汉字等特点。随着QR码越来越广泛的应用,对QR码的图像质量及安全技术要求也越来越高。如何对QR码进行加密实现产品防伪是当前业界研究的热门话题。RSA算法是第一个能同时用于加密和数字签名的算法,也是目前最有影响力的公钥加密算法。针对QR码防伪的要求,提出了使用RSA算法对QR码进行加密的防伪技术。编码方首先使用公钥对原始数据信息进行处理,产生密文信息,再用此密文信息生成QR条码。用户获得条码后,需要得到授权,才能使用QR码译码程序进行计算并获得明文,从而判断条码的合法性。经实验,测试效果良好,速度较快。该方法为生产企业提供了一种防伪新思路,具有很好的实用价值。
QR code is a kind of two-dimensional code, which is widely used for its ultra-high recognition speed, wide character code, and more effective representation of Chinese characters etc. Product Anti-counterfeiting is a major concern for enterprises, and how to strengthen the products'anti-counterfeit function is also a hot topic in current industry. RSA algorithm is the most influential public key encryption algorithm which is also the first algorithm that can be used in both encryption and digital signature. The QR code and RSA algorithm is introduced in this article. To fulfill the requirements of products security, RSA algorithm is used to encrypt the infor- mation of products to emerge a QR code image. When users get products with these QR Codes they can distinguish whether they are genuine through scanning and decoding the QR codes. The two dimensional QR code products in anti - counterfeiting system design provides a new way for enterprises in production security, and it also has a very good practical value in production line.
出处
《北华航天工业学院学报》
CAS
2014年第2期24-27,共4页
Journal of North China Institute of Aerospace Engineering
基金
北华航天工业学院教研项目(KC2013051)
关键词
RSA算法
防伪技术
QR码生成
QR码识别
two - dimension QR code, production Anti - counterfeiting, RSA Algorithm, QR code generation, QR code recognition