hashlib library

import hashlib

text = 'Hello'
hashObject = hashlib.sha384(text.encode('utf-8'))
digest = hashObject.hexdigest()

print(digest)

Leave a Comment

Your email address will not be published. Required fields are marked *