Thread: Encryption

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    31
    Rep Power
    15
    Hello all,

    Sorry for my bad English! I have a script who send the password to the users. The problem is; the password is encrypt. Is there a way to fix this, is it possible with my last line? I read almost all message on this board cannot find anything about this

    $result = mysql_query ("SELECT user_name,email,password FROM users WHERE email = '$email'",$con);
    if ($row = mysql_fetch_array($result))
    {

    $msg=$row["user_name"].", your password is:".$row["password"];

    Thank You!
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    That depends on how you encrypted the password. If you used mysql's password() function to encrypt, then no you can't decrypt it.

Similar Threads

  1. mcrypt :: help with public key encryption
    By VirtualWow in forum PHP Development
    Replies: 1
    Last Post: August 26th, 2006, 10:30 AM
  2. in need of resources encryption algorithms
    By janna in forum Software Design
    Replies: 3
    Last Post: July 14th, 2003, 07:30 AM
  3. Replies: 1
    Last Post: May 14th, 2002, 05:23 PM
  4. What is the best encryption??
    By m0nk3y in forum PHP Development
    Replies: 35
    Last Post: February 19th, 2002, 09:31 PM
  5. Replies: 1
    Last Post: August 6th, 2000, 09:42 AM

IMN logo majestic logo threadwatch logo seochat tools logo