Added Django 1.3 hexdigest implementation temporarily