CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2002
    Posts
    290

    Would you please send me some encryption and decryption algorithm or source code?

    Hello:

    I need the source code(or algorithm,better for source code) of Message Digest ,Encryption and decryption ?

    thanks a lot.

    [email protected]

  2. #2
    Join Date
    Aug 2002
    Location
    VA, USA
    Posts
    137
    sm_ch,

    Search for "md5". Google turned up 1.4 million hits with the first
    one providing source code.

    regards, willchop

  3. #3
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588
    Check out Crypto++
    Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
    Supports C++ and VB out of the box, but can be configured for other languages.

  4. #4
    Join Date
    Aug 2001
    Location
    Stockholm, Sweden
    Posts
    1,664
    ...or OpenSSL. It includes MD5, SHA-1, RSA, DES, AES, and many many more...

  5. #5
    Join Date
    Oct 2001
    Location
    lake of fire and brimstone
    Posts
    1,628
    The "best" encryption currently is Rijndael or the Advanced Encryption Standard. It's name is derived from the name of the (Belgian) inventors. Click here for implementations in C/C++ and assembler. It's not proven to be "uncrackable" (all algorithms are if you try all keys) though.
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞
    ۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞۞

  6. #6
    Join Date
    Mar 2002
    Posts
    290

    You are so kind.

    Thanks a lot.

    I have another problems to ask you:

    maximum length of MD5's result.
    RSA's parameters.
    And I need to develop a server application and a client application.

    the client application reads IE's message,inserts some message from local PC before the whole message from IE,then I use MD5 to get their digest message, insert the digest before again,last I encrypted it with RSA public key from server.

    the server application read the message from client application ,processes it and send the result to ASP pages.

    Now my way is that the server application receives the message from client application,processes it and send it to 80 port which is the HTTP port.But you know people can connect to 80 port directly.If I can not make the server application be the bridge between IE and ASP pages I will have to do more jobs.

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