File Integrity: Difference between revisions

migrated
 
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
Line 11: Line 11:
[http://en.wikipedia.org/wiki/MD5 MD5] ('''Message-Digest algorithm 5''') is one method "commonly used to check the integrity of files... The 128-bit (16-byte) MD5 hashes (also termed message digests) are typically represented as a sequence of 32 hexadecimal digits..."
[http://en.wikipedia.org/wiki/MD5 MD5] ('''Message-Digest algorithm 5''') is one method "commonly used to check the integrity of files... The 128-bit (16-byte) MD5 hashes (also termed message digests) are typically represented as a sequence of 32 hexadecimal digits..."


On Linux systems, try <source lang="bash">md5sum <filename></source> at the command line; on the Solaris systems, try <source lang="bash">md5</source>.  The checksum value for a file (or simple string) reported by an MD5 utility should be constant, independent of operating system.
On Linux systems, try <syntaxhighlight lang="bash">md5sum <filename></syntaxhighlight> at the command line; on the Solaris systems, try <syntaxhighlight lang="bash">md5</syntaxhighlight>.  The checksum value for a file (or simple string) reported by an MD5 utility should be constant, independent of operating system.


=== SHA1 ===
=== SHA1 ===