import hashlib
print
("Available Algorithms in HASHLIB: ", end ="")
print (hashlib.algorithms_guaranteed)
print
("\r")
str = "1"
result =
hashlib.sha256(str.encode())
print("SHA256
Hash: ")
print(result.hexdigest())
print
("\r")
result =
hashlib.sha384(str.encode())
print("SHA384
Hash: ")
print(result.hexdigest())
No comments:
Post a Comment