webref.eu Posted July 25, 2008 Share Posted July 25, 2008 Hi All I have read it's better to use sha1 now rather than md5 to encrypt passwords, i.e. $Password = sha1($Password); If I have a site running using the above technique, would it I encounter problems in terms of password recognition if I then had to move the site to another Linux server? i.e. can the unique items on the Linux server used to achieve the sha1 encryption be moved easily to a new Linux server? Any background info in what files are involved in creating sha1 encrypted passwords welcome too. Thanks all. Quote Link to comment https://forums.phpfreaks.com/topic/116602-sha-encryption-and-changing-servers/ Share on other sites More sharing options...
jonsjava Posted July 25, 2008 Share Posted July 25, 2008 the sha1 algorithm is a standard mathematical equation, and as such, will produce the same results on any server. You should see no problems moving your script. Quote Link to comment https://forums.phpfreaks.com/topic/116602-sha-encryption-and-changing-servers/#findComment-599549 Share on other sites More sharing options...
webref.eu Posted July 25, 2008 Author Share Posted July 25, 2008 OK great, thanks for that. Rgds Quote Link to comment https://forums.phpfreaks.com/topic/116602-sha-encryption-and-changing-servers/#findComment-599593 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.