CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Sep 2002
    Posts
    120

    Help On DES encryption

    Hi, I am making a VB program, which uses DES encryption.
    I manage to found a source code from planet-source-code on the DES encryption, but one things troubles me.

    The output of the DES encryption keep varying each time i encrypt the same string with the same key. This looks weird.

    I have a java API which does the DES encryption, and its output is always the same. I wonder, can I modify the VB DES encrytion algorithm to make it output string identical to that of the Java DES API provided the same string and key is provided to both the API.

    Attached is the VB DES source code. I din write the code myself because I am simply not up to the standard. Please helps.
    Attached Files Attached Files

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