How to caculate md5 checksum for the given file in Linux

MD5 is one in a series of message digest algorithms designed by Professor Ronald Rivest of MIT (Rivest, 1994). When analytic work indicated that MD5’s predecessor MD4 was likely to be insecure, MD5 was designed in 1991 to be a secure replacement. (Weaknesses were indeed later found in MD4 by Hans Dobbertin.)

NAME

md5sum - compute and check MD5 message digest  

SYNOPSIS

md5sum [OPTION] [FILE]...
md5sum [OPTION] --check [FILE]  

DESCRIPTION

Print or check MD5 (128-bit) checksums. With no FILE, or when FILE is -, read standard input.

-b, --binary

read files in binary mode (default on DOS/Windows)

-c, --check

check MD5 sums against given list

-t, --text

read files in text mode (default)

 

The following two options are useful only when verifying checksums:

--status

don't output anything, status code shows success

-w, --warn

warn about improperly formated checksum lines

--help

display this help and exit

--version

output version information and exit

The sums are computed as described in RFC 1321. When checking, the input should be a former output of this program. The default mode is to print a line with checksum, a character indicating type (`*' for binary, ` ' for text), and name for each FILE

SHARE

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment