Anselm Kruis edited this page Jan 1, 2016 · 1 revision

MD5

To check the md5 checksum of a file:

  • Linux:
md5sum <filename>
  • Mac OS X:
md5 <filename>
  • Windows :

    1. save this md5sum.py file:

      import sys
      import os
      import md5
      
      if len(sys.argv) == 1:
          print 'Usage: %s <filename>' % os.path.basename(sys.argv[0])
      else:
          print md5.md5(file(sys.argv[1]).read()).hexdigest()
    2. launch:

      python md5sum.py <filename>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.