Jump to content

sha encryption and changing servers


webref.eu

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/116602-sha-encryption-and-changing-servers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.