1 comment

[ 3.5 ms ] story [ 11.1 ms ] thread
One of my favourite ones:

  public static function encryptPassword($password) {
    return strrev(sha1(strtolower($password)).sha1(strtoupper($password)));
  }