Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2006
    Location
    UK
    Posts
    907
    Thanks
    301
    Thanked 2 Times in 2 Posts

    Question Insert Encrypted Password

    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

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    Quote Originally Posted by cancer10 View Post
    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
    I am the luckiest man in the world

  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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/de...ord_Update.zip


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •