Home / Market / Sha1 Tool

Sha1 Tool

Compute SHA-1 160-bit cryptographic hash values. Use for file integrity checking and data fingerprinting.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

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())