摘要
如何确保数据文件的保密性和完整性?这是应用程序开发与应用中的一个重要问题。在.NETFrameWork中,有多种算法可以实现文件的加密和解密,亦可用散列函数来验证文件的完整性。本文提出并实现了在.NETFrameWork中开发应用程序时,结合使用DES加密算法和SHA1散列函数,实现了文件加密并验证其完整性的方法。
How to ensure the confidentiality and integrity of the data file? This is an important problem in practical program development and application. There are many algorithms which can realize the encoding and decoding of files. Hash function also can be used to demonstrate the integrity of the file in .NET FrameWork. This article puts forward and realizes the method-combining DES encoding algorithm with SHAI "hash function to realize the encoding of the file and demonstrate its integrity while developing the practical programs in .NET FrameWork.
出处
《现代计算机》
2006年第7期100-102,112,共4页
Modern Computer