Web Hosting Forum | Lunarpages

Author Topic: going from md5 to sha1  (Read 3252 times)

Offline durangod

  • Galactic Royalty
  • *****
  • Posts: 200
going from md5 to sha1
« on: June 20, 2010, 05:35:46 PM »
i want to go from md5 to sha1, im assuming all i need to do is change the md5 prefix to sha1 since it is the same format setup...  and of course expand my cell in the database to 40 rather than 32 as it is now for md5 because sha1 results in 40 correct...

is that all i really need to consider in the move from md5 to sha1... 

i know that sha1 is not much better than md5 they both have been hacked but its better than what i have and i have not been able to find a php function for sha2 yet, or i would use that...  any thoughts...


Share |