Generate Whirlpool Hash using Python

Whirlpool library

  1. Install Whirlpool library from the command line:
pip install Whirlpool
  1. Generate Whirlpool hash:
import whirlpool

text = 'Hello'
hashObject = whirlpool.new(text.encode('utf-8'))
digest = hashObject.hexdigest()

print(digest)

Leave a Comment

Cancel reply

Your email address will not be published.