You are here: Re: How to insert a value by encrypting and should be able to get this by decrypting « PHP Programming Language « IT news, forums, messages
Re: How to insert a value by encrypting and should be able to get this by decrypting

Posted by Rik on 02/12/07 11:22

On Mon, 12 Feb 2007 12:14:51 +0100, Amar <ghungur.2006@gmail.com> wrote:

> Hi All,
> I want to insert my password into the mysql database by encrypting it
> so that I can also retrieve the password. Before I was using sha1()
> for encrypting password,but it is an one way method.
> I want to use a function that can be decrypted . Please help me.

DES_ENCRYPT() / DES_DECRYPT() in MySQL, or look at mcrypt in PHP:
<http://nl3.php.net/manual/en/ref.mcrypt.php>

--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация