Click here to Skip to main content
15,888,239 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

1 solution

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:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900