Advertisement
foryou97

md5 file

Mar 7th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. import hashlib
  2.  
  3.  
  4. filehash = hashlib.md5()
  5. filehash.update(open('/path/to/file.zip').read())
  6. print filehash.hexdigest()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement