文档详情

基于USB技术的软件加密锁研究与实现-计算机应用技术专业论文.docx

发布:2018-12-19约5.29万字共132页下载文档
文本预览下载声明
沈阳航空工业学院硕士学位论文摘要 沈阳航空工业学院硕士学位论文 摘要 软件产品保护越来越受到人们的重视,软件开发者除了采取法律手段保护自身利益 外,还着重从软件加密技术角度来保护自己的知识产权。由于目前常见的USB软件加 密锁采用DES算法、静态加密以及数据对比保护等方式,软件加密锁极易被应用软件 所模拟,从而导致软件保护失效。 本文在分析了常见软件加密锁设计原理以及相关技术的基础之上,提出了一种具有 三层加密体系的USB软件加密锁实现方案。.本文主要做了以下几方面的工作: (1)提出一种优化的AES加密算法。针对8位微控制器内存小、处理速度慢的特 点,将加密过程中的乘法运算变换为移位运算和加法运算,从而使该算法在8位处理器 上具有良好的运行速度;针对32位以上处理器平台,将AES解密算法中的各个过程融 合成查表和异或运算,从而提高算法的运算效率。将均匀化混沌序列加密之后的密文摘 要;单片机内定时器产生的随机数所映射到的程序代码数据,以及C8051F320单片机片 内温度传感器的输出值,三者进行异或混合运算,解决了AES加密算法动态密钥生成 问题。 (2)提出了一种软件加密锁系统结构,从随机数比较保护、主机唯一性保护以及 关键参数保护三个方面解决了软件加密锁易被软件模拟的问题。 (3)对软件加密锁进行了实现。具体包括采用PROTEL设计软件加密锁的硬件原 理图以及PCB;在KEIL环境下编写设备的固件程序;在VC++6.0环境下编写HID设 备客户驱动程序以及主机应用程序等。 最后使用一个连连看软件来对软件加密锁进行了测试,经过多次实验证明,本软件 加密锁稳定、安全,具有很好的实际应用价值。 关键词:软件加密锁;软件保护;AES算法;动态加密;关键参数保护 沈阳航空工业学院硕士学位论文Abstract 沈阳航空工业学院硕士学位论文 Abstract More and more attention has been paid to the protection of software.In addition to using legal means to protect their own interests,software developers also began to focus on the technical means of software encryption to protect their intellectual property rights.Since the DES algorithm,static encryption method and comparison protection of data are used in the most common USB dongle.The dongle is always simula.ted by software and this will result in invalidation of the software protection. Based on the design principles of the common USB dongle and.the related technology,a USB dongle implementation scheme wim three-layer protection is proposed in this thesis. This thesis mostly accomplishes the following works: (1)An Optimization algorithm of AES is proposed in this thesis.The multiplication in the AES encryption algorithm is turned into shift and XOR operation in the memory-constrained 8一bit microcontroller with slow processing speed.And then the efficency of the alogrithem is well in the microcontroller.All the processes in the AES decryption algorithm are merged into Lookup and XOR operation in the 32-bit controller SO as to improve the efficency of the alogrithem.A result is generated
显示全部
相似文档