Thanks Alex Gaynor :) is working :)

On Aug 6, 1:57 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Thu, Aug 6, 2009 at 12:55 PM, Asinox<asi...@gmail.com> wrote:
>
> > Hi guys, please i need to know why md5 return this:
>
> > <md5 HASH object @ 028B4DA0>
>
> > the way that im using:
>
> > def encriptar():
> >    toEncode = pickle.dumps(datetime.now)
> >    encoded = md5.new(toEncode)
>
> >    return encoded
>
> > Thanks
>
> You can call the hexdigest() method on the md5 object to get a string
> of the hash.
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your
> right to say it." -- Voltaire
> "The people's good is the highest law." -- Cicero
> "Code can always be simpler than you think, but never as simple as you
> want" -- Me
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to