Creating a md5(base64) or sha1(base64) password has in PHP

Last week I was trying to figure out how to get a 28 character md5. An application I was trying to generate passwords required what looked to be a 28 char hash. First off I tried: echo base64_encode(md5($password)); This returned way too many characters. After doing some research I found out it needs to be […]