hasher_5.py 133 B

12345
  1. def hash_with_sha512(string):
  2. hash = hashlib.sha512()
  3. string = string.encode('utf-8')
  4. hash.update(string)
  5. return hash