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

  • Home
  • SEARCH
  • 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 553661
In Process

The Archive Base Latest Questions

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

Straight to the point: Where can I place the algoritm for password hash encryption

  • 0

Straight to the point:

Where can I place the algoritm for password hash encryption in Membership Provider?
or: Where did Microsoft team place the encryption method?

Because: I chose to have it Hash but password ended up in my database are plain.

Thank you very much 🙂

—– Update

Sorry for not mention, im using my own custom provider.

  • 1 1 Answer
  • 1 View
  • 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-13T11:37:43+00:00Added an answer on May 13, 2026 at 11:37 am

    This is specified in the Membership Provider configuration of your webconfig, using the add element:

    <!-- SqlMembershipProvider syntax -->
    <add name="string" 
      type="string" 
      connectionStringName="string"
      applicationName="MyApplication"
      commandTimeout
      description
      enablePasswordRetrieval="false"
      enablePasswordReset="true"
      passwordFormat="Hashed"
      minRequiredPasswordLength
      minRequiredNonalphanumericCharacters
      passwordStrengthRegularExpression
    />
    

    The default algorithm is SHA1, as defined in the membership provider, but you can override this if you want to using the hashAlgorithmType attribute:

    <membership
      defaultProvider="provider name"
      userIsOnlineTimeWindow="number of minutes"
      hashAlgorithmType="SHA1">
      <providers>...</providers>
    </membership>
    

    For more details on providing your own algorithm, see “Mapping Algorithm Names to Cryptography Classes”.

    Note that the format overrides things like password retrieval – hashed passwords can’t be retrieved, and a provider should return an exception if GetPassword is called on them when the password is hashed (see EnablePasswordRetrieval property).

    If you have written your own MembershipProvider, I suggest you take a look at the “How to: Sample Membership Provider Implementation”, especially the methods EncodePassword and UnencodePassword.

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

Sidebar

Related Questions

Straight to the point. The CSS ribbon is supposed to attach itself to the
I want to go straight to my point here, so is it possible to
I'll get straight to the point. I'm building a website on an existing database,
I have a very short and straight to the point question. When adding an
Ok, let's get straight to the point. I got 2 questions 1. Why self.StyleSetSpec(stc.STC_STYLE_DEFAULT,
Can anyone point me to an example that uses core plot library to draw
Okay, straight to the point, here is the code: struct TileStruct { SDL_Rect clip[0];
Hoping someone can point me in the direction of where i'm going wrong with
i'll just get straight to the point. my database is like this every book
Let me get straight to the point :). In my project I'm rendering an

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.