hashing fixed
This commit is contained in:
parent
299c4ccc96
commit
dbfccdf023
@ -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!')
|
||||
|
Loading…
Reference in New Issue
Block a user