Encrypt\Decrypt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gsgurdeep
    New Member
    • Apr 2007
    • 94

    #1

    Encrypt\Decrypt

    Please give any example of ENCRYTION Namespce in VB.Net Application.
    I want to ENCRYPT some info then saving in sql database.
    help me my friends.
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by gsgurdeep
    Please give any example of ENCRYTION Namespce in VB.Net Application.
    I want to ENCRYPT some info then saving in sql database.
    help me my friends.
    Better try your own encryption and decryption algorithm. This is not a query, you are asking an assignment.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      MSDN has examples for using many of the encryption/decryption algorithms they have in their namespace.
      Please do your own legwork and try them out.

      Comment

      • jamesd0142
        Contributor
        • Sep 2007
        • 471

        #4
        This may not be a good method but, i usually pick out each character at a time from the string. then get the ascii value of each character. then play around with the numbers (ie * / + -) this is some sort of encrption method, how strong i dont know...

        Comment

        • RedSon
          Recognized Expert Expert
          • Jan 2007
          • 4980

          #5
          First, as a rule anyone and everyone who needs to encrypt something should use the provided encryption algorithms. You should NEVER write your own encryption algorithm unless you are just doing it for fun and to test it out. NEVER, NEVER, NEVER use your own encryption algorithm to protect truly sensitive data.

          Now that being said, for a start you can look at something like http://www.microsoft.com/technet/pro...ncryption.mspx or http://articles.techrepublic.com.com...2-5083541.html

          Comment

          Working...