文档详情

基于硬盘序列号和RSA算法的软件加密系统的设计和实现 毕业设计论文_精品.doc

发布:2018-04-04约3.9万字共43页下载文档
文本预览下载声明
基于硬盘序列号和RSA算法的软件加密系统的设计和实现 摘 要 随着计算机软件业的飞速发展和计算机的日益普及计算机软件已经进入社会生活中的各个角落。但是由于计算机软件易于复制,所以随之而来的便是盗版软件的泛滥。这使软件开发人员蒙受了巨大的经济和社会损失,防止软件盗版最行之有效的方法就是对软件进行有效的加密。 论文首先介绍了软件加密的发展现状和研究它的意义,接着对软件序列号保护的相关技术分析和当前流行的加密算法详细研究。基于以上理论基础,将本设计的基于硬盘序列号和RSA算法软件加密系统的设计和实现划分为两个层次:采用动态链接库文件DiskSerial.DLL导出的GetSerialNumber()函数获取硬盘的物理序列号,动态链接库的好处是可以采用多种编程语言来编写,增强产品的功能,提供二次开发的平台,简化项目管理,节省磁盘空间和内存,有助于资源的共享;注册机使用RSA加密算法将硬盘物理序列号加密生成为注册码,客户端将注册码进行解密运算,其结果与获取的本地计算机硬盘物理序列号对比,验证注册码的合法性。加密解密使用非对称密钥RSA算法,私钥和公钥不同,理论上从公钥推算出私钥是不可行的,当密钥长度达到1024位时,破解难度极大,所以使用RSA算法加密确保了软件的安全性。 本设计因为使用的序列号是硬盘物理序列号,及每台电脑的序列号是不同的,从而保证了注册码的唯一性。经过调试和测试的验证,本设计结构简单,性能可靠,操作方便。本设计在软件保护行业有着广泛的使用价值,如在软件防盗中,用作注册码的生成与验证等。 关键词:硬盘物理序列号;RSA算法;注册机;软件加密 System design and implementation of encryption system based on hard disk serial number and RSA algorithm Student:LI Zhong-jie Teacher:ZHANG Lie-ping Abstract:With the rapid development of computer software industry, and the increasing popularity of computer software has entered every corner of social life. However, because computer software is easy to replicate, so what comes next is the proliferation of pirated software. This allows software developers suffered huge economic and social loss, to prevent software piracy is the most effective way to encrypt the software effectively. First, the paper introduces the current development of software encryption and research its meaning, then the serial number of software related to technical analysis and protection of the popular encryption algorithm in detail. Based on the above theory, this design based on the hard disk serial number and the RSA encryption algorithm software, system design and implementation is divided into two levels: the dynamic link library files DiskSerial.DLL exported GetSerialNumber() function to get the hard drive of the physics serial number, The advantage of the dynamic link library can be written using a variety of programming languages, and enhance products features, provide second development platform, simpl
显示全部
相似文档