![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() |
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.
![]() |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Oct 2005
Location: Chitown
Posts: 423
Rep Power: 4
![]() |
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.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
Can you check the hash yourself, or is it done automatically by your decompression app?
|
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 591
Rep Power: 5
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |