Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 619091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:37:03+00:00 2026-05-13T18:37:03+00:00

We have a system written in PHP where account passwords are stored as the

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:37:03+00:00Added an answer on May 13, 2026 at 6:37 pm

    Basically you want to write your own authentication back-end. Fortunately, this can be done very easily.

    It’s as easy as:

    class MyBackend:
        def authenticate(self, username=None, password=None):
            # Check the username/password and return a User.
    

    Then all you need to do is specify the back-end class by setting AUTHENTICATION_BACKENDS to be ('django.contrib.auth.backends.YourCustomBackend',).

    See: http://docs.djangoproject.com/en/dev/topics/auth/#specifying-authentication-backends

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a comment system written in PHP and JavaScript but each time I
I have a large inhouse system written in a combination of C# and PHP.
I have a fairly complex content management system I've written in PHP, which has
I have a hobby wesbite written in PHP and I like to know if
I have a system written in PHP which aggregates records from a number of
I have a quite old templating system written on top of ERB. It relies
I have been attempting to enhance my GUI system written in Java to use
We have an automatic reporting and notification system written in .net that sends emails
I have written a small utility to collect system data and output it to
I have written a control in C# that derives from System.Windows.Forms.Control. I have added

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.