We have a system written in PHP where account passwords are stored as the first 128 chars of a whirlpool hash of the password.
I'd like to transition to handling the logins with Django without changing the database or asking users to change their passwords. Also, I'd prefer to stick with whirlpool vs. the less secure hashes Django has built in. I found a python (C) implementation of Whirlpool which seems to work fine.
How can I change the Django password checking function to use Whirlpool rather than SHA1/MD5?