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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:41:29+00:00 2026-05-15T19:41:29+00:00

I have a legacy application that uses the ASP.NET membership provider w/ SQL backend.

  • 0

I have a legacy application that uses the ASP.NET membership provider w/ SQL backend. The passwords in the database are set to clear. I would like to encrypt these passwords while preserving the individual passwords. How can I programatically go about accomplishing this?

I know that in order for ASP.NET to recognize the change, I’ll need to change the database password format, password salt, and the password itself. I’ll also need to change the password format in the ASP.NET configuration to use the encrypted password format.

Essentially, I would need to generate a salt, grab the password, apply an encryption to the password, but I’m a little lost on how to actually encrypt the password.

  • 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-15T19:41:30+00:00Added an answer on May 15, 2026 at 7:41 pm

    When you say you want to encrypt these passwords by still preserving the individual passwords, I’m assuming you mean that you don’t want to have the user’s passwords be changed.

    I would suggest you do a test run on this (I’m sure you would anyways).

    Reference this post for the internals of how the SHA1 hashing works.
    How to create a asp.net membership provider hashed password manually?

    1. Create a small app to connect to the database and hash all the passwords.

    2. Update the config for your application to Hash the passwords (remove the “Clear” directive as hashing is the default.

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

Sidebar

Related Questions

I have a rather complex legacy ASP.Net application that is under continuous development, and
I have a legacy application at my hand which uses ASP.NET WebForms. My problem
Given: ASP.Net application which uses a legacy COM library legacy COM library which is
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
I have a legacy PHP application that uses the following URL structure /product_info.php?products_id=YYY where
We have a legacy ASP.NET site which uses the encryption methods here: http://www.codekeep.net/snippets/af1cd375-059a-4175-93d7-25eea2c5c660.aspx When
I have a legacy C++ application that uses DDS for asynchronous communication/messaging. I need
I have a legacy application that uses the windows time zone information for calculating
I have been charged with maintaining a legacy classic ASP application. The application uses
I have an Android application that uses the well known Strategies for Legacy Applications

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.