Generate XXH64 Hash using Python

xxhash library

  1. Install xxhash library from the command line:
pip install xxhash
  1. Generate XXH64 hash:
import xxhash

text = 'Hello'
hashObject = xxhash.xxh64(text)
digest = hashObject.hexdigest()

print(digest)

Leave a Comment

Cancel reply

Your email address will not be published.