Re: MD5 hash of object

2009-06-08 Thread Jeff McNeil
On Jun 8, 3:47 pm, Chris Rebert wrote: > On Mon, Jun 8, 2009 at 11:43 AM, lczancanella wrote: > > 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. > > Hashes are only defined to operate on bytestrings. Si

Re: MD5 hash of object

2009-06-08 Thread Chris Rebert
On Mon, Jun 8, 2009 at 11:43 AM, lczancanella wrote: > 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. Hashes are only defined to operate on bytestrings. Since Python is a high-level language and doesn't per

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