PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



mcrypt_encrypt

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General
View previous topic :: View next topic  
Author Message
abalfazl



Joined: 15 Feb 2005
Posts: 68

PostPosted: Fri May 09, 2008 9:44 am    Post subject: mcrypt_encrypt Reply with quote

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?
Back to top
View user's profile Send private message
mwasif



Joined: 22 Mar 2008
Posts: 27

PostPosted: Sun May 11, 2008 8:51 am    Post subject: Reply with quote

Why you want to use mcrypt_encrypt to save passwords? Can't you use md5()?
_________________
PHP, Apache, MySQL
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum