MD5 hash of object

2009-06-08 Thread lczancanella
Hi, in hashlib the hash methods have as parameters just string, i want to know how can i digest an object to get a md5 hash of them. Thankz Luiz -- http://mail.python.org/mailman/listinfo/python-list

Unbound Method Error

2009-06-08 Thread lczancanella
Hi, i am brand new in Python, so sorry if this question is too basic, but i have tried a lot and dont have success... I have the following code... class Funcoes: def CifradorDeCesar(mensagem, chave, funcao): mensagem_encriptada='' if funcao == 1: for byte in