Since SHA-1 was recently found to have some collisions, and since sha
is deprecated in Python 2.5 in favor of hashlib, should an attempt to
import hashlib be added to contrib.auth.models (both check_password
and set_password) so when Python 2.5 becomes more mainstream, this
will be picked up by default?

Hashlib docs:
http://docs.python.org/lib/module-hashlib.html

Both md5 and sha have deprecation warnings:
http://docs.python.org/lib/module-md5.html
http://docs.python.org/lib/module-sha.html


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to