LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2003, 03:45 AM   #1
Warchief
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
what is MD5 code?


I always see this when i find a software.But i don't need it when i install the software.Then, what is the use of MD5 code?
 
Old 07-23-2003, 04:14 AM   #2
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
MD5sums are used to verify a successfully downloaded iso.You run the command:
md5sum /the/directory/containing/iso
If the sums match your download was good.You should always do the md5sums before creating a cd from the iso image.
HTH
lynch
 
Old 07-23-2003, 04:17 AM   #3
sub_slack
Member
 
Registered: Jul 2003
Distribution: slackware
Posts: 56

Rep: Reputation: 15
MD5 sums are provided on some sites to make sure that the file you have downloaded from the site is not corrupt.
 
Old 07-23-2003, 04:18 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
In a nutshell:
The md5sum is a 128 bit checksum number that will verify the integrity of a downloaded file. If you run the md5sum program it will generate a number based on the downloaded file. If it matches the number in the md5sum file than you can be assured that the file has not been corrupted when downloaded.

I've done a quick search on checksums and have posted a few links.

http://www.math.utah.edu/~beebe/soft...dr/node15.html
http://searchsecurity.techtarget.com...211779,00.html
http://www.flounder.com/checksum.htm

Last edited by michaelk; 07-23-2003 at 06:57 AM.
 
Old 07-23-2003, 04:25 AM   #5
psyno
LQ Newbie
 
Registered: Jul 2003
Posts: 23

Rep: Reputation: 15
I'm brand new to Linux but I gather that md5 is used for more than just checksums. I don't know how yet, but I think it is useful for password encryption and the like.

Michaelk successfully put md5sum in a nutshell for verifying file integrity.
 
Old 07-23-2003, 08:00 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by psyno
I'm brand new to Linux but I gather that md5 is used for more than just checksums. I don't know how yet, but I think it is useful for password encryption and the like.
MD5 is not an encryption mechanism. It produces a "message digest" or checksum that can be used to verify data integrity. I realize that "MD5 passwords" are common, but they are not encrypted. What is actually stored or compared is the checksum of the password. Theorectically, only the real password will produce the correct MD5 checksum.

If you look at things like SSL, you'll notice that during the connection negotiation, things like encryption cipher (DES, 3DES, IDEA) and the checksum (MD5, SHA) are chosen during the initial handshake.

Last edited by stickman; 07-23-2003 at 08:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
small syntax problem with C code (implemented in Code Composer Studio) illiniguy3043 Programming 6 01-07-2008 02:14 AM
MD5 Collision Source Code Released primo Linux - Security 7 11-23-2005 08:46 AM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 01:37 AM
using iso.md5 and iso.md5.asc Tyir Linux - Newbie 3 07-10-2004 11:45 PM
Open Firmware code for booting OS from SATA : sample code available somewhere ? drsparikh Linux - Hardware 0 03-12-2004 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration