Sha1 Tool
Compute SHA-1 160-bit cryptographic hash values. Use for file integrity checking and data fingerprinting.
Documentation & Preview
#!/usr/bin/env python3 import hashlib, sys h = hashlib.sha1() h.update(open(sys.argv[1] if len(sys.argv) > 1 else "a.txt", "rb").read()) print(h.hexdigest())