Here goes:
try something like:
SQLField('password','password',requires=CRYPT(digest_alg='sha512'))

with this patch web2py CRYPT validator supports all hashing algorithms
supported by python's hashlib library just by defining that parameter
in the example CRYPT(digest_alt='<name_of_the_digest_alg>')

Test it and give feedback

Best Regards
-- 
Francisco Gama

E-mail: blacktho...@ironik.org
MSN: blacktho...@ironik.org
ICQ: 58040653
Google Talk: francisco....@gmail.com
Skype: francisco_gtr
Cell phone: +351 934420305

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: improved_crypt_validator.patch
Description: Binary data

Reply via email to