• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 2 of 2
    1. #1
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      NubTIK's Avatar
      Join Date
      Dec 2012
      Posts
      61
      Thanks (-->)
      1
      Thanks (<--)
      40

      Cool [C#] Convert String to MD5 Hash

      John Kittz
      Hi everyone. Well I thought people were kinda inactive atm so why not make a tutorial.

      MD5 Hash

      Ok so first we need a MD5CryptoServiceProvider .. To get this you need to "include" System.Security.Cryptography.

      And then we can create it.

      Code:
       MD5 md5Crypto = new MD5CryptoServiceProvider();
      Ok so time to create our Byte Arrays.
      1 For our Normal Data (The string we wanna encrypt)
      2 To store the hash

      Byte[] NormalData, EncodedData;

      Now lets set the Normal Data to the string we want, from bytes.

      NormalData = ASCIIEncoding.Default.GetBytes("String");

      Ok time to use our MD5CryptoServiceProvider..

      Convert to MD5 Hash from our byte array (String):

      EncodedData = md5Crypto.ComputeHash(NormalData);

      Now u might think you can just outprint your Byte Array EncodedData to a string, You cant.

      We need to use BitConverter


      String Hash = BitConverter.ToString(EncodedData);

      Done!

      Thank you for watching my tutorial! Please reply

      Click image for larger version. 

Name:	resulta.png 
Views:	6 
Size:	33.0 KB 
ID:	1498
      Last edited by NubTIK; 12-17-2012 at 05:48 AM.

    2. #2
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      NubTIK's Avatar
      Join Date
      Dec 2012
      Posts
      61
      Thanks (-->)
      1
      Thanks (<--)
      40
      Cheats'n'Trainers
      Quote Originally Posted by Crypt View Post
      Looking good, it's easy crackable however

      Kind regards,
      Crypt.
      Yea it is This was only a tut on how to do it tho!

    Similar Game Hacker Threads

    1. [Source Code] String and Container Classes
      By Solaire in forum Tutorials and Snippets
      Replies: 10
      Last Post: 02-29-2016, 01:49 AM
    2. [Help] C# Streamwrite - Huge String
      By GAFO666 in forum C#
      Replies: 2
      Last Post: 02-15-2016, 02:45 PM
    3. Convert d3d9 model recognition logger to x64
      By Apprentice in forum Direct-X, OpenGL
      Replies: 1
      Last Post: 09-16-2015, 09:23 AM
    4. [Help] c++ Convert Char to WCHAR
      By Clarityworld in forum Hacking Help
      Replies: 8
      Last Post: 04-24-2015, 03:43 PM
    5. The Way To Convert Hex To Dec
      By programmer in forum C/C++
      Replies: 4
      Last Post: 10-11-2012, 11:08 AM

    Tags for this Thread