thefortrees Posted June 26, 2007 Share Posted June 26, 2007 Hi all - Is there an alternative to crypt(), md5(), or sha1() that is two-way? Would it be a good idea to implement two-way encryption for passwords? I am creating a site in which it would be nice if the admin could login and be able to retrieve the passwords for each user. Thanks! Quote Link to comment Share on other sites More sharing options...
Dragen Posted June 26, 2007 Share Posted June 26, 2007 personally I think it would be more secure to use only one-way encryption, so it's harder for someone to crack it. Instead of retrieving passwords for users, simply reset them to a random string, which is then emaild to the user Quote Link to comment Share on other sites More sharing options...
chocopi Posted June 26, 2007 Share Posted June 26, 2007 You could use Base64 but I do not know how safe it is ~ Chocopi Quote Link to comment Share on other sites More sharing options...
cluce Posted June 26, 2007 Share Posted June 26, 2007 I agree with Dragen Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.