Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 20th, 2007, 11:53 PM   #1
titaniumdecoy
Programming Guru
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 1,007
Rep Power: 5 titaniumdecoy will become famous soon enough
Send a message via AIM to titaniumdecoy
Download decryption?

I've noticed that often when a file is made available for download on a popular website, the download links are occasionally accompanied by what I assume are decryption keys. For example, on the official Ruby website, each download link is followed by md5 and sha256 codes. What is the purpose of these codes? I can download any of the files without a problem and decompress them without entering any sort of code.
titaniumdecoy is offline   Reply With Quote
Old Mar 21st, 2007, 12:07 AM   #2
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 423
Rep Power: 4 Wizard1988 is on a distinguished road
They are for security reasons. A hash is computed for the file, and it is posted. When you receive the file on your side you compute the hash yourself and compare. This way you can check if the file was tampered with on the way to you.
__________________

Wizard1988 is offline   Reply With Quote
Old Mar 21st, 2007, 12:48 AM   #3
titaniumdecoy
Programming Guru
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 1,007
Rep Power: 5 titaniumdecoy will become famous soon enough
Send a message via AIM to titaniumdecoy
Can you check the hash yourself, or is it done automatically by your decompression app?
titaniumdecoy is offline   Reply With Quote
Old Mar 21st, 2007, 12:58 AM   #4
Benoit
Expert Programmer
 
Benoit's Avatar
 
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 591
Rep Power: 5 Benoit is on a distinguished road
You generally check the hash yourself. Check out a utility called "md5sum" for checking md5 keys.
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4
Benoit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
download from a website? programmingnoob Other Web Development Languages 6 Feb 5th, 2007 10:05 AM
Windows vista download!!, im doing it!!! hervens48 Coder's Corner Lounge 80 Jun 28th, 2006 7:02 PM
Download Blocker Finished - Random Text in Window Title? bigguy Visual Basic 1 Jan 13th, 2006 2:05 PM
Download Manager bigguy Visual Basic 16 Oct 31st, 2005 3:07 PM
Download Limiting Crono PHP 5 Jan 31st, 2005 6:03 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:59 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC