Hashing (hidding) strings in Python

Posted by Lucas on Stack Overflow See other posts from Stack Overflow or by Lucas
Published on 2013-10-25T03:06:53Z Indexed on 2013/10/25 3:54 UTC
Read the original article Hit count: 108

Filed under:
|
|
|

What I need is to hash a string. It doesn't really have to be secure because its just going to be a hidden pharse in the text file (simply it doesn't have to be recognizable for a human-eye).

It should not be just a random string because when user will be typing the string I would like to hash it and compare it with already hashed one (in the text file).

What would be the best for this purpose? Can it be done with the own class?

© Stack Overflow or respective owner

Related posts about python

Related posts about string