+ 1
I want to know weather if we could change a word into it's hash code using Python ??
I want to know weather if we could change a word into it's hash code using Python ?? If there is please comment me. And also I want to mention that this is not a home work or something like that. I just want to know is there a way to do that and how????
2 odpowiedzi
+ 2
A quick search reveals: it is built in and simply called hash()
To read more:
https://www.askpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK/built-in-methods/python-hash-function
Use like this:
print(hash("test"))