I am developing a web API using EVE REST Framework it contains a table which holds password of the users. When i send a 'get' request to mongodb the password is displayed in visible format. Can anyone tell me how to store values in mongodb which is not in a readable format(hashed format).
Thanks in advance!!!
You can use the hashlib library in python. You can pick from whichever algorithms you like, using md5 will look something like this:
See the docs also, https://docs.python.org/2/library/hashlib.html