Zend - The PHP Company




Code Gallery: xdrdre


Extra Secure MD5 Hashing  

Type: code fragment
Added by: xdrdre
Entered: 25/03/2006
Last modified: 03/12/2005
Rating: - (fewer than 3 votes)
Views: 6243
adds a 100+ character string (length up to user after editing the key) and base64 encodes it, giving us LOTS of nice random letters and random case and various other characters, with the default key its over 150 characters long after base64'd. then turned into a 32 char md5 hash. Why is this good? Well if someone happens to steal the hash in some way, it would take a super computer to break that 150+ character password full of random case letters and more.




Search