Click here to Skip to main content
14,830,944 members
Articles / Desktop Programming / MFC
Posted 6 Feb 2005


26 bookmarked

Data Encryption Standard Made Easy

Rate me:
Please Sign up or sign in to vote.
2.11/5 (26 votes)
6 Feb 2005CPOL
Implementation of DES and Educational DES in a very easy and understandable format.


This article is another part of my encryption source code chain.

This DES encryption code provides excellent learning of Data Encryption Standard which is implemented exactly according to the famous DES flow chart. You can also run it as SDES which is commonly known as educational DES. The educational DES actually works on 10 bits while the actual DES encrypts 64 bits at a time.

The code is highly reusable and can be added in any application by just adding the DES class in your source code.

The key generation process has also been implemented in an understandable format and is exactly according to the key generation flow chart.


  • 6th February, 2005: Initial post


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


About the Author

Software Developer
Australia Australia
C/C++, C# .NET, VB.NET, Linux, Oracle, PostgreSQL, MYSQL

Comments and Discussions

GeneralMy vote of 1 Pin
Jinoh3-Jun-11 17:09
MemberJinoh3-Jun-11 17:09 
GeneralMy vote of 2 Pin
Anton Kukoba5-Mar-11 12:40
professionalAnton Kukoba5-Mar-11 12:40 
Generalwant code which run in turbo c++ Pin
singasane.yogesh29-Jan-11 2:19
Membersingasane.yogesh29-Jan-11 2:19 
GeneralMy vote of 1 Pin
Temp37829-Sep-10 23:20
MemberTemp37829-Sep-10 23:20 
Generali can't get the rigth answer Pin
farhady5-Jul-10 5:13
Memberfarhady5-Jul-10 5:13 
Generalerror in program plz suggest Pin
balsusantosh 14-Oct-09 16:39
Memberbalsusantosh 14-Oct-09 16:39 
GeneralMy vote of 1 Pin
Keith Worden2-Sep-09 4:46
MemberKeith Worden2-Sep-09 4:46 
GeneralI can´t run this code Pin
Jasmine Pomelo17-Apr-09 6:24
MemberJasmine Pomelo17-Apr-09 6:24 
GeneralNeed change Pin
bhuvaneswarii31-Jul-06 1:43
Memberbhuvaneswarii31-Jul-06 1:43 
GeneralSome necessary changes Pin
raphts10-May-05 13:08
Memberraphts10-May-05 13:08 
GeneralRe: Some necessary changes Pin
onder ozcan27-Nov-08 4:57
Memberonder ozcan27-Nov-08 4:57 
GeneralRe: Some necessary changes Pin
Member 849389816-Dec-11 16:54
MemberMember 849389816-Dec-11 16:54 
QuestionWhere is the article? Pin
Neville Franks6-Feb-05 22:21
MemberNeville Franks6-Feb-05 22:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.