Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
password from cleartext to encrypted
I have to send a password to a webservice and it will save it as an encrypted password while creating the user, not hashed, in the aspnet membership database locally.
How do I convert the cleartext password into an encrypted password to send it to the SQL sproc?
8/22/2022 - Mon
Are you writing the web service, in order to authenticate a user?
Obviously, there are many different schemes for 'encrypting' or protecting passwords; some are more secure than others
For secure password storage in your application,
I would recommend BCRYPT, using eg.
Or PBKDF2 using Rfc2898DeriveBytes
If you need to interact with a webservice that someone else wrote,
then you would need to know exactly what password/credential storage mechanism
they are using, and what rules they are using to derive passwords they store,
in order to be able to provide a password in their internal format.
Yes, it's my webservice. And the encryption is the passwordformat=2 of the usual aspnet membership logic. The site already has encrypted logins, rather than hash, so the usual Microsoft encrypted mechanics is what i need.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent