Difference between revisions of "Reporting unknown MD5 checksums"

Jump to navigation Jump to search
Adding more macOS info
(Wikifying the page into groups)
(Adding more macOS info)
Line 24: Line 24:
To get the correct MD5 checksum, run the following
To get the correct MD5 checksum, run the following


===Under *nix (including Mac OSX)===
===Under *nix===
   head -c size file | md5sum
   head -c size file | md5sum


Where <code>size</code> depends on the engine, as described above.
Where <code>file</code> is the file to be examined and <code>size</code> depends on the engine, as described above.
 
===Under macOS===
 
  md5 -r file
 
Where <code>file</code> is the file to be examined.
 
Alternatively, you can install [https://raamdev.com/2008/howto-install-md5sum-sha1sum-on-mac-os-x/ md5sum] and run the *nix command above.  


===Under Windows===
===Under Windows===
Line 34: Line 42:
   md5deep -p size file | find /i "offset 0-"
   md5deep -p size file | find /i "offset 0-"


Where <code>size</code> depends on the engine, as described above.
Where <code>file</code> is the file to be examined and <code>size</code> depends on the engine, as described above.


Alternatively, you can download the [http://gnuwin32.sourceforge.net/packages/coreutils.htm gnuwin32 coreutils] and run the *nix command above. You will need <code>head.exe</code>, <code>md5sum.exe</code>, and the two libraries from the dependency package.
Alternatively, you can download the [http://gnuwin32.sourceforge.net/packages/coreutils.htm gnuwin32 coreutils] and run the *nix command above. You will need <code>head.exe</code>, <code>md5sum.exe</code>, and the two libraries from the dependency package.
TrustedUser
567

edits

Navigation menu