📅  最后修改于: 2022-03-11 15:00:25.503000             🧑  作者: Mango
代码示例2
def encrypt():
print "Enter string for encryption: \n"
rec = raw_input()
enkr =hashlib.sha256(rec).hexdigest()
print enkr