Python unhash value

Posted by blah01 on Stack Overflow See other posts from Stack Overflow or by blah01
Published on 2010-06-09T14:19:21Z Indexed on 2010/06/09 14:22 UTC
Read the original article Hit count: 217

Filed under:
|
|

Hi all

I am a newbie to the python. Can I unhash, or rather how can I unhash a value. I am using std hash() function. What I would like to do is to first hash a value send it somewhere and then unhash it as such:

#process X
hashedVal = hash(someVal)
#send n receive in process Y
someVal = unhash(hashedVal)
#for example print it
print someVal

Thx in advance

© Stack Overflow or respective owner

Related posts about python

Related posts about beginner