...

View Full Version : Insert Encrypted Password



phantom007
04-11-2007, 06:12 AM
Hi All,

I have a question and I hope you guys can help me out.

If you have worked with php-mysql, you might have noticed that there is a featured to encrypt a password while inserting it in the database using the password() function.

I am looking for a similar feature as i am working with asp as frontend and mysql and ms sql server as my backend.

If you have not used php-mysql then ignore the above and tell me if there is any function to encrypt the password while inserting it to the database using ASP? (for both mysql and mssql)


Thanx in advance

Roelf
04-11-2007, 07:48 AM
Hi All,

I have a question and I hope you guys can help me out.

If you have worked with php-mysql, you might have noticed that there is a featured to encrypt a password while inserting it in the database using the password() function.

I am looking for a similar feature as i am working with asp as frontend and mysql and ms sql server as my backend.

If you have not used php-mysql then ignore the above and tell me if there is any function to encrypt the password while inserting it to the database using ASP? (for both mysql and mssql)


Thanx in advance

There is no default function to do that in classic asp. But a quick search on google gave me enough to just pick and use one: click (http://www.google.nl/search?source=ig&hl=nl&q=encrypt+password+using+asp&btnG=Google+zoeken&meta=)

degsy
04-18-2007, 03:24 PM
Your best bet with ASP is RC4 or MD5. MD5 is not encyption, it is a hash of the text.
This means that it cannot be recovered. If a user forgets their pass it has to be reset. This method is used as it is deemed more secure.

Here is an example of using MD5
http://computer-helpforum.com/asp/default.asp?dir=aspfree/MD5_Password_Update&file=MD5_Password_Update.zip



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum