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 8539761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:26:37+00:00 2026-06-11T11:26:37+00:00

We are creating a user login and registration system and have decided to bypass

  • 0

We are creating a user login and registration system and have decided to bypass Django’s auth (for a few reasons, which is outside the scope of this question).

We still need encryption for our passwords and would still like to use that implemented by auth (pbkdf2_sha256, I believe). We could roll our own but would rather use Django’s if we can (again, without using the auth package).

Looking at our Django install (we have 1.4.1, the latest), we found the auth folder (and a file called hashers.py) but, being new to python, aren’t really sure where to go from here for encrypting our passwords.

thanks!

EDIT:

Based on the comments and answer received, I’ve decided to use the built-in methods and tables.

  • 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-06-11T11:26:38+00:00Added an answer on June 11, 2026 at 11:26 am

    If you have a look at the source of django’s set_password, you can see that it calls the make_password function, which is probably what you are looking for.

    You could then use django’s check_password to verify passwords.

    This does add a dependency on django.contrib.auth, as these functions are defined in django.contrib.auth.hashers, but that’s standard in Django, so I don’t think it’s an issue.
    Furthermore, django.contrib.auth.hashers has no dependency on anything from django.contrib.auth.

    I can however only support the advice that was given to you in comments that you should probably be using the default django auth package – especially given that we’re talking security critical parts here.

    By the way, the algorithm used to hash passwords is actually controlled by the the PASSWORD_HASHERS setting.

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

Sidebar

Related Questions

I am creating an user registration form using jsp,in which there is an option
I have been creating user login form using the various groupcodes, the user login
I want after login user redirects to page creating new table(website), so I have
I am creating a user login system similar to a client intranat. And when
So I'm creating a site where users must login. If the user wishes that
I am creating a user-boards applicationin rails in which a user owns any number
I have a simple create user wizard and custom membership provider which was taken
We are creating a new site using ASP.NET membership provider for user registration and
I think creating a simple user-registration on Orchard CMS should be easy? What I
I am creating a user login in ASP.NET and C# however after writing up

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.