Md5sum and Sha1sum

Source: Internet
Author: User
Tags md5
These two algorithms, can generate a file itself unique (repetition probability tends to infinity) of the signature (32-bit 16 characters), that is, the same content of the file's signature will be the same, so that you can use this signature test, the transmission of the file and the original file is the same, if not the same, Prove that the original file lost some data during the transmission, causing the file corruption.
1. In the terminal:
Input: md5sum filename//Can get the file's signature input: md5sum filename > FILENAME.MD5//The file The signature code is stored in a file in order to use it to verify other file input: Md5sum-c filename.md5//Verify the file in the current directory, if there is a match, then return OK, otherwise, fail
2. In Windows:
Download a software called: winmd5sum, drag the file directly in to compare:

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.