微软企业库4.1学习笔记(二十三)加解密模块3 示例代码
加密解密模块可以满足常用的对称加解密和hash功能要求。在应用中加入模块,需要下面的步骤: 1)添加对模块的程序集引用。添加对程序集Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll的引用。 2)添加对程序集Microsoft.Practices.ObjectBuilder2.dll和Microsoft.Practices.EnterpriseLibrary.Common.dll的引用。 3)在需要模块功能的文件中引入命名空间 using Microsoft.Practices.EnterpriseLibrar...