CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    Islamabad, Pakistan
    Posts
    113

    Hiding the contents of a DLL file

    Hello!

    I have made a dll that decrypts files. The private Key is hard coded (for example string key = "1234ABC")

    When I open the dll in Notepad, the key is easily seeen. There goes my key!!

    What can be done to prevent such situations.


    Note that the key has to be a string.

  2. #2
    Join Date
    Nov 2002
    Location
    Tatooine
    Posts
    155
    Look in the System.Security.Cryptography namespace.

    Hope this points you in the right direction.
    That which does not kill us, only makes us stronger.

    MCSD .NET

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