s3afe_2.py 96 B

123
  1. def _hasher(filename):
  2. f = open(filename)
  3. return str(hashlib.sha1(f.read()).hexdigest())