Encryption using SHA
import hashlib
s=input("Enter Text to be encoded ")
result = hashlib.sha1(s.encode())
print("SHA-1 encryption:" ,end=" ")
print(result.hexdigest())
result = hashlib.sha224(s.encode())
print("SHA-224 encryption:" ,end=" ")
print(result.hexdigest())
result = hashlib.sha256(s.encode())
print("SHA-256 encryption:",end=" ")
print(result.hexdigest())
result = hashlib.sha384(s.encode())
print("SHA-384 encryption:",end=" ")
print(result.hexdigest())
result = hashlib.sha512(s.encode())
print("SHA-512 encryption:",end=" ")
print(result.hexdigest())