简化的DES加密和解密128位块纯文本 [英] Simplified DES Encrypt and Decrypt 128 bit-block plain text

查看:184
本文介绍了简化的DES加密和解密128位块纯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

你好.谁能用c#源代码帮助我,用简化的DES(S-DES)加密和解密128位纯文本块?我知道C#在System.Security.Cryptography命名空间中具有特殊的类,但我希望将其用于学术用途.

的确谢谢你,
达沃德,MB

Dear All,

Hi. Can anyone help me with c# source code to encrypt and decrypt 128-bit-block of plain text with simplified DES (S-DES)? I know C# have special class in System.Security.Cryptography namespace but I want it for academic use.

Thank you indeed,
Davood, MB

推荐答案

正如您所说,DES类存在:表示这是您的家庭作业,并且您想提交一些作为您自己的原创作品! :laugh:
As you say, the DES class exists: http://msdn.microsoft.com/en-us/library/system.security.cryptography.des.aspx[^] - so why not use it? the MSDN link even provides a working example of how to use it!

Unless of course "but I want it for academic use" means it''s your homework and you want to submit something as your own original work! :laugh:


这篇关于简化的DES加密和解密128位块纯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆