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. Managed C++/CLI
  4. haching with MD5

haching with MD5

Scheduled Pinned Locked Moved Managed C++/CLI
helpcryptographyquestion
3 Posts 3 Posters 2 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.
  • U Offline
    U Offline
    User 10229595
    wrote on last edited by
    #1

    Hi all, I want to use MD5 to hash message. I see some implementation in the internet but my problem is that my message is not a string but a packet type. Someone can help please? regards

    L W 2 Replies Last reply
    0
    • U User 10229595

      Hi all, I want to use MD5 to hash message. I see some implementation in the internet but my problem is that my message is not a string but a packet type. Someone can help please? regards

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hashing works on bytes, whether they are characters or not is not important.

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      • U User 10229595

        Hi all, I want to use MD5 to hash message. I see some implementation in the internet but my problem is that my message is not a string but a packet type. Someone can help please? regards

        W Offline
        W Offline
        WuRunZhe
        wrote on last edited by
        #3

        Well, type of data is not important. Anyhow you have to send data to MD5 with array so there is no important thing happened when you send char array or byte array. The difference between your message and string is that use byte array or use char array. So, you can send byte array which implements your message contents to HD5 instead of char array. That's all.:suss:

        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