It is currently Wed Feb 08, 2012 5:56 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: mcrypt_encrypt
PostPosted: Fri May 09, 2008 10:44 am 
Offline

Joined: Tue Feb 15, 2005 1:34 pm
Posts: 71
Hi!

Say I have mysql database and I want to save encrypted passwrod by mcrypt_encrypt function....

How can I do that?Please explain about the mechanism by code,When I take key from user,How to save that?what is your suggestion?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 9:51 am 
Offline

Joined: Sat Mar 22, 2008 9:04 pm
Posts: 33
Why you want to use mcrypt_encrypt to save passwords? Can't you use md5()?

_________________
Linux, Apache, MySQL, PHP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron