Re: password encode and decode ?

From: Tony Marston (tony_at_NOSPAM.demon.co.uk)
Date: 05/03/04


Date: Mon, 3 May 2004 10:56:07 +0100

If you want details of a reversible encryption routine for PHP then take a
look at http://www.tonymarston.net/php-mysql/encryption.html.

-- 
Tony Marston
http://www.tonymarston.net
"Jay" <artlover70@yahoo.com> wrote in message
news:5668e569.0405022242.40eeb2d@posting.google.com...
> Hi everybody !
>
> I've used the "crypt()" function in PHP to save password of a user
> logging in a web-based system. Based on a book that I've read (PHP
> advanced by Larry UllMan), there is no way that we can recover
> (decode) the password once it is encrypted.
>
> Is there any other ways that I can still encrypt a password, save it
> in the database and still able to see it later (instead of a string of
> junk) ?
>
> PS: the reason I am writing this question is because I like to write a
> feature that will e-mail the user his/her password to his/her e-mail
> if he/she doesn't remember the password to log in the system.
>
> Any help would be greatly appreciated !!!!
>
> Jay


Relevant Pages

  • Re: Joining ASP encryption (ASPEncrypt) and PHP encryption (mcrypt)
    ... >data in ASP needs to be read by us with PHP. ... I am no encryption expert and the ... How long have you been using mcrypt? ... I've briefly used the AspEncrypt product you speak of and it is ...
    (sci.crypt)
  • Re: [PHP] sharing info between websites with XML?
    ... what kind of data you're sharing) in an easy to parse format (CSV, XML, ... It's relatively easy to setup the clients to login ... PHP supports encryption if you install the necessary libraries ... and configure PHP accordingly (manual> Mcrypt Encryption Functions). ...
    (php.general)
  • Re: (S.O.S) Only 4 the best programmers. About Javascript & PHP
    ... > I've a page that sends an encrypted password, using MD5, to a PHP ... > encryption stored on a data base. ... > JavaScript and PHP doesn't return the same value. ...
    (comp.lang.php)
  • sigh back again... php encryption...
    ... I am trying to learn how to send data from a webpage written in php ... $char = chr+ord); ... echo $result; ... This does not need to be the mona lisa, aka DES or 256 bit encryption ...
    (sci.crypt)
  • Re: Google Attitude was RE: Unclassified Disk "Sanitizers"
    ... remember this happened when someone asked for Basic Books on Encryption. ... yes I agree with you Jay that even for this question google will ... indulgent teacher teaching a bunch of lil children.... ...
    (Security-Basics)