Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

MD5 Hash

hello world md5

  • Please log in to reply
32 replies to this topic

#25 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 01 June 2009 - 05:22 AM

The provider of the file also has to provide the hash. You then recheck the hash of what you downloaded to see if it matches.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#26 SterAllures

SterAllures

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 188 posts

Posted 01 June 2009 - 05:45 AM

Oww oke I understand it a little better now, thanks for that explanation! Oke well I'm gonna last it later today :) thanks for your help
  • 0
4d 65 6c 76 69 6e 0d 0a
"If happiness was the national currency, what kind of work would make you rich?"

#27 ACT333

ACT333

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 30 August 2009 - 06:06 AM

Looks interesting.
  • 0

#28 Termana

Termana

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 971 posts

Posted 30 August 2009 - 08:14 PM

Well done outsid3r, you -rep'ed me without leaving a comment IN THE THREAD. You've shown the lack of balls to tell everyone what you thought, and if I was a new member, I would feel discouraged from posting more tutorials. You never asked any questions to see whether I had any comprehension of the subject at hand.

Edited by Termana, 31 August 2009 - 05:38 AM.

  • 0

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#29 davitz38

davitz38

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 19 February 2010 - 02:34 PM

Hi,
I'm using this tool when I need to hash a string, pretty cool online md5 converter : stringfunction.com/md5-hash.html
  • 0

#30 outsid3r

outsid3r

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 494 posts

Posted 27 February 2010 - 08:01 AM

Well done outsid3r, you -rep'ed me without leaving a comment IN THE THREAD. You've shown the lack of balls to tell everyone what you thought, and if I was a new member, I would feel discouraged from posting more tutorials. You never asked any questions to see whether I had any comprehension of the subject at hand.


Hi, didn't check this post until now! First, i didn't feel to comment it at the time, i can't remember exactly why... maybe because many have done previously, why just another one? and second, if i can discourage people to submit tutorials like this, it's just great for codecall.
  • 0

#31 Hunter100

Hunter100

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 292 posts
  • Programming Language:C, C++, PHP, Python, Delphi/Object Pascal, Assembly
  • Learning:Python, Assembly, Bash

Posted 19 March 2010 - 01:12 AM

Hey all,

The main function is like this right? (for example):

int main ()

So I input (minus the comments):

// This will allow us to access the md5wrapper class.
md5wrapper md5;
// This will store the md5 hash of a file called test.txt in a string hash1
std::string hash1 = md5.getHashFromFile("test.txt");
// This will store the md5 hash of some text into a string hash2
std::string hash2 = md5.getHashFromString("Hello World");
// This will print, the hash from the file and from the string
std::cout << hash1 << std::endl; << hash2 std::endl;
system("PAUSE"); // Remove if your using Linux.
return 0;

In the main function (like between the brackets) or in the main body of the code (in between the {} and the beginning and the end of the code)?
  • 0

#32 chris06

chris06

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 21 September 2010 - 10:19 AM

take a look at : MD5 Encryption: Encrypt & Decrypt MD5 Hashes
  • 0

#33 devilnoc

devilnoc

    CC Lurker

  • New Member
  • Pip
  • 3 posts
  • Programming Language:C, C++, PHP
  • Learning:Java, (Visual) Basic, JavaScript, VBScript

Posted 03 September 2012 - 10:48 AM

sehr geil, danke!
  • 0





Also tagged with one or more of these keywords: hello world, md5

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download