摘要
在.NET Framework平台开发软件系统时,一般采用某种特定算法实现敏感信息的加密,这影响了软件的扩展性和维护性.为此,研究了.NET Framework对称算法类的继承层次结构,分析了其加密与解密的实现流程,提出了通用对称算法加密实现类的设想,并进行了可行性分析.然后介绍了通用对称算法加密类的构成,阐明了各成员的设计思路,给出了用VB.NET实现的完整代码.最后以应用实例表明,该类使用简单方便,具有良好的扩展性和维护性,其设计思想可推广到其它加密算法类.
When the .NET Framework platform developed software systems,it generally used a particular algorithm to achieve the encryption of sensitive information.This affects the scalability and maintainability of software.To this end,studied the inheritance hierarchy for the .NET Framework symmetric algorithm class,analysed its process of the encryption and decryption, proposed a assumption of general symmetric algorithm encryption class,and made a feasibility analysis.Then introduced the composition of the general symmetric algorithm encryption class, explained the design ideas of the various members,and gave the complete code achieved through VB.NET.Finally used an example to show that this class is very convenient and its designing ideas can be extended to other encryption algorithms.
出处
《计算机系统应用》
2013年第1期121-125,共5页
Computer Systems & Applications