hashing fixed

This commit is contained in:
Felix Pankratz 2020-02-26 19:45:40 +01:00
parent 299c4ccc96
commit dbfccdf023

View File

@ -281,7 +281,7 @@ def hashPrompt():
hasher.update(content)
else:
inputString = input('Please input a string: ')
hasher.update(inputString)
hasher.update(inputString.encode('utf-8'))
print(hasher.hexdigest())
print('Welcome aboard PankiCrypt Airlines!')