Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Encrypting the password

Encrypting the password

Scheduled Pinned Locked Moved C#
databasesql-serversysadmin
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M J Jaya Chitra
    wrote on last edited by
    #1

    Hello Everybody, In my program i have to encrypt the password and i have to store it in the SQL server database. It should by very strong. Could you please give me a hint

    Best Regards, M. J. Jaya Chitra

    C 1 Reply Last reply
    0
    • M M J Jaya Chitra

      Hello Everybody, In my program i have to encrypt the password and i have to store it in the SQL server database. It should by very strong. Could you please give me a hint

      Best Regards, M. J. Jaya Chitra

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The Cryptography namespace is full of options. MD5 is definately not a secure option, FWIW.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M 1 Reply Last reply
      0
      • C Christian Graus

        The Cryptography namespace is full of options. MD5 is definately not a secure option, FWIW.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        M J Jaya Chitra
        wrote on last edited by
        #3

        Thank you Christian. What do you mean by FWIW, is it a encryption method. plz don't mistake me

        Best Regards, M. J. Jaya Chitra

        M 1 Reply Last reply
        0
        • M M J Jaya Chitra

          Thank you Christian. What do you mean by FWIW, is it a encryption method. plz don't mistake me

          Best Regards, M. J. Jaya Chitra

          M Offline
          M Offline
          Mark Greenwood
          wrote on last edited by
          #4

          For What It's Worth = FWIW Use SHA256 - that's pretty strong - we use it in my company (note I'm not saying WHICH company) Mark

          M A 2 Replies Last reply
          0
          • M Mark Greenwood

            For What It's Worth = FWIW Use SHA256 - that's pretty strong - we use it in my company (note I'm not saying WHICH company) Mark

            M Offline
            M Offline
            M J Jaya Chitra
            wrote on last edited by
            #5

            Thank you for your kind suggesstion

            Best Regards, M. J. Jaya Chitra

            1 Reply Last reply
            0
            • M Mark Greenwood

              For What It's Worth = FWIW Use SHA256 - that's pretty strong - we use it in my company (note I'm not saying WHICH company) Mark

              A Offline
              A Offline
              andre_swnpl
              wrote on last edited by
              #6

              Mark Greenwood wrote:

              we use it in my company (note I'm not saying WHICH company)

              :laugh::laugh: Most companies use this I suspect - as it is very easy to use and very strong. Usually with a strong password as well.

              M 1 Reply Last reply
              0
              • A andre_swnpl

                Mark Greenwood wrote:

                we use it in my company (note I'm not saying WHICH company)

                :laugh::laugh: Most companies use this I suspect - as it is very easy to use and very strong. Usually with a strong password as well.

                M Offline
                M Offline
                M J Jaya Chitra
                wrote on last edited by
                #7

                When i tried and go through the SHA256 algorithm i felt it is very difficult to implement and they have used it for encrypting the files but i have to get a password from the user and i have to encrypt the password and i have to store it in the database. Please give me your suggestions because i am new to this concept

                Best Regards, M. J. Jaya Chitra

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups