File MD5 checksum and sha1 checksum

Source: Internet
Author: User

MD5 Verification:
Large FTP sites generally provide the MD5 verification code for the downloaded file, which can be used to verify
Whether the downloaded file is correct or not.
You can download the verification program for Windows.
Ftp://www.cntomi.com/pub/sungang/md5sum.exe
49152 bytes.
You can put it in the Windows running directory such as C:/Windows/and use it as a common command.
FreeBSD and Linux have their own MD5 verification programs.
The general usage is as follows:

Windows 95/97/98/NT/2000
E:/> md5sum 4.1-install. ISO
782d53b69c9e9ae89678c925ba6b6647*4.1-install. ISO

Under FreeBSD
$ MD5. 4.1-install. ISO
MD5 (4.1-install. ISO) = 782d53b69c9e9ae89678c925ba6b6647

Linux
$ Md5sum 4.1-install. ISO
782d53b69c9e9ae89678c925ba6b6647 4.1-install. ISO

Sha1 Verification:

Sha1sum verification is executed in Linux like the following: for example, to verify the first disk;

[Beinan @ S01 ~] $ Sha1sum FC4-i386-disc1.iso
3fb2924c8fb8098dbc8260f69da-e9c437d28c68 FC4-i386-disc1.iso

If you want to verify all the disks of the downloaded FC4-i386, it should be:

[Beinan @ S01 ~] $ Sha1sum FC4-i386 -*
3fb2924c8fb8098dbc8260f69da-e9c437d28c68 FC4-i386-disc1.iso
31fdc2d7a1f1709aa02c9ea5854015645bd69504 FC4-i386-disc2.iso
032455cdf457179916be3a739ca16add75b768b7 FC4-i386-disc3.iso
F560f26a32820143e8286afb188f7c36d905a735 FC4-i386-disc4.iso

After a while, there will be a row of input values, and then compare them based on the sha1sum content provided by FTP;

Download a tool named sha1sum.exe from windows.
URL: http://www.linuxfans.org/nuke/modules.php? Name = site_downloads & OP = geninfo & did = 3556.com.cn
After the download, go to the command line:
Then, the sha1sum.exe file name
It takes a long time for a large file to wait, and then you can see the results you want:
B4cbca2dcbef46d16cb015341455233d9a43a0e Fedora-9-Alpha-x86_64-DVD.iso
Then compare it with the Verification Code provided by the software!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.