密码函数库的研究和实现
时间:2020-05-30 16:09 来源:毕业论文 作者:毕业论文 点击:次
摘要随着信息化时代的迅速发展,信息的安全性问题也受到广泛关注,国内外的许多科研人员也开发出了许多加密解密的算法库,这些算法库有些以软件包的形式提供给用户,方便用户直接安装使用,目前应用较为广泛的密码算法库有 Crypto++库、OpenSSL 库、CyaSSL、jsCrypto、Crypto-JS和 pidCrypt。Crypto++库通过了 FIPS 的140-2 验证因此具有良好的安全性能,同时具有良好的跨平台性能,本文首先介绍了密码学的一些基础知识,然后着重介绍了Crypto++库及其封装地加密算法,并相应的介绍了其他几类算法库,最后重点研究了基于Crypto++库的对称加密的 AES 算法和公钥加密的RSA 算法在文件加密方面的应用,并形成了一个 MFC应用程序,最后验证了这两种算法的可行性。50091 毕业论文关键词 文件加密,Crypto++,AES,RSA Title Research and Implementation of Cryptographic LibraryAbstractWith the rapid development of the information age, information security has also beenconcerned widely. Many researchers at home and abroad developed lots of encryption anddecryption algorithm libraries, these algorithm libraries are served as software packages whichare pretty available to the users. They are also convenient for the users to install and use directly.Presently, the most widely used cryptographic algorithm libraries are Crypto++ library,OpenSSL library, CyaSSL, jsCrypto, Crypto-JS and pidCrypt.Crypto++ library had been tested through the FIPS 140-2 validation, therefore it has good safetyperformance as well as good cross-platform performance. This paper emphatically introducesthe Crypto++ library and encryption algorithms it has been encapsulated, and then introducesseveral other algorithms library. Finally it focus on the file encryption using AES algorithm ofsymmetric encryption algorithm and RSA algorithm of public key encryption algorithm. At lastit make a formation of an MFC application. Keywords File encryption,Crypto++,AES,RSA 目次 1引言1 1.1国内外研究现状1 1.2本文所做的工作1 1.3本文结构安排1 2密码学基础知识...2 2.1对称密码算法2 2.2非对称密码算法3 2.3Hash函数5 3常用的密码算法库...6 3.1Crypto++库.6 3.2OpenSSL.8 3.3其他常用库...10 4文件加密解密实现.11 4.1Crypto++库的编译实现...11 4.2应用程序相关演示.11 4.3文件加密解密编程及验证..13 结论26 致谢27
参考文献.28 |