I want to encrypt passwords from an ASP page which are then stored in a SQLServer Express database.
I can't seem to find any info about encrypting passwords in classic ASP, just asp.net, can it be done ?
-
-
You could try out the Capicom dll. The download is here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&DisplayLang=en
There is a link on there to the reference page but is does not work of course
Google can find it though:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/capicom_reference.asp -
webmonkey wrote:I want to encrypt passwords from an ASP page which are then stored in a SQLServer Express database.
I can't seem to find any info about encrypting passwords in classic ASP, just asp.net, can it be done ?
http://www.freevbcode.com/ShowCode.asp?ID=2366
Above is a link to a MD5 generator, you can use MD5 algo for many different purpose, for your purpose of hiding the password it will be more than sufficient, I am assuming that instead of storing the password, you store a hash of the password instead. the implication of this scenario is that user can't modify their password, they could nly change their password all together. -
Thanks all, will take a look at them tomorrow

Another thing I thought of, can you call the asp.net encryption either via an aspx file into the asp file or from the asp file itself? -
webmonkey wrote:Thanks all, will take a look at them tomorrow

Another thing I thought of, can you call the asp.net encryption either via an aspx file into the asp file or from the asp file itself?
sure, you can make an aspx file perform the encryption and return the result of the encryption in the response, but I wouldn't recommend it, it makes your app messy, worst than sphagetti code IMO.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.