hashing fixed
This commit is contained in:
parent
299c4ccc96
commit
dbfccdf023
@ -281,7 +281,7 @@ def hashPrompt():
|
|||||||
hasher.update(content)
|
hasher.update(content)
|
||||||
else:
|
else:
|
||||||
inputString = input('Please input a string: ')
|
inputString = input('Please input a string: ')
|
||||||
hasher.update(inputString)
|
hasher.update(inputString.encode('utf-8'))
|
||||||
print(hasher.hexdigest())
|
print(hasher.hexdigest())
|
||||||
|
|
||||||
print('Welcome aboard PankiCrypt Airlines!')
|
print('Welcome aboard PankiCrypt Airlines!')
|
||||||
|
Loading…
Reference in New Issue
Block a user