CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Location
    G day Mayt Land
    Posts
    971

    Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    hi folks;

    I have not been able to find a class (even C functions ) on the net .
    Does anyone know where i can get copy of this source class / C++ .?

    thanks.

  2. #2
    Join Date
    Jun 2005
    Posts
    20

    Re: Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    AH,

    You need source code for DES, I Just so happen to have the source code that you would be needing. The code is in C++. It works fine, but for 3 things. The method i have is triple DES meaning that it is DES encryption run 3 times. My program does not handle the file reading and writing as well as it could.
    My program is a very simple implementation, don't get me wrong, it works perfectly, but this is not a user friends application. I could make it a lot more user friendly, but at the moment i'm not motivated.

    Bill

  3. #3
    Join Date
    May 1999
    Location
    G day Mayt Land
    Posts
    971

    Re: Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    Great ..
    Love to take a look at teh source and make sense of it myself
    Please email saeedr43 at yahoo

    Thanks alot

  4. #4
    Join Date
    Dec 2004
    Location
    Marlyand, USA
    Posts
    66

    Re: Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    It is a VERY BAD IDEA to use home grown encryption algorithms (even experts with decades of experience screw up), use open source libraries instead like OpenSSL.

    Free code: http://sol-biotech.com/code/.

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw

  5. #5
    Join Date
    Apr 2005
    Posts
    62

    Re: Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    You may use the source code on my webpage here:
    http://www.prism.gatech.edu/~gtg927s...securecom.html

    The DES is in C and should compile for windows. The code works very good and I think it's pretty well optimized (I didn't write it...check the headers for info).

  6. #6
    Join Date
    Jun 2005
    Posts
    20

    Re: Need source code for DES Cryptography (Encryption/DeCryption) in C/C++

    Quote Originally Posted by mitakeet
    It is a VERY BAD IDEA to use home grown encryption algorithms (even experts with decades of experience screw up), use open source libraries instead like OpenSSL.

    well good, I'm glad my work isn't HOME GROWN, I did it at an internship.

    But thanks for your faith

    tex23bm

    PS. Go to my site for a brief report on the algorithm and a working example. The example was written with MS Visual C++ 6.0 and compiles and runs.
    Last edited by tex23bm; June 29th, 2005 at 11:33 PM. Reason: updated site

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured