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. common encryption method

common encryption method

Scheduled Pinned Locked Moved C#
csharpjavaandroidiossecurity
3 Posts 3 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.
  • B Offline
    B Offline
    Bajrang Singh
    wrote on last edited by
    #1

    Hi all, I there any common in built class to encrypt password in java(black berry, android api) and objective c(iphone). I heard about Md5 but don't know whether it is available for all these languages. thanks & regards

    Bajrang Singh Using .net 2.0 (VS2005)

    OriginalGriffO E 2 Replies Last reply
    0
    • B Bajrang Singh

      Hi all, I there any common in built class to encrypt password in java(black berry, android api) and objective c(iphone). I heard about Md5 but don't know whether it is available for all these languages. thanks & regards

      Bajrang Singh Using .net 2.0 (VS2005)

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      MD5 is an algorithm, so it can be implemented in any language. If it is implemented in java it should give the same results as the C# or C implementation. Don't know if it is though. Do note that MD5 is: 1) Not an encryption algorithm. It is a hashing algorithm, which means you cannot get back to your original data from the MD5 value. For password comparison it should be ok, but not if the password is used to encrypt data or access a database, etc. 2) Not recommended for new projects, as it is officially classed as "broken". (I.e. a mechanism has been found to generate a valid input sequence from an MD5 value) Use SHA instead if you can

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • B Bajrang Singh

        Hi all, I there any common in built class to encrypt password in java(black berry, android api) and objective c(iphone). I heard about Md5 but don't know whether it is available for all these languages. thanks & regards

        Bajrang Singh Using .net 2.0 (VS2005)

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #3

        Yes. Buy this book[^] I bought it back when it came out ... that makes me old, and it contains enough coverage to make you comfortable with encryption in the modern languages, Java and even .NET. The chat application in this book answers the annual question that we constant get on this forum of, "How do I build a chat application" as well.

        Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

        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