Hacker News new | ask | show | jobs
by ziad-saab 3952 days ago
One of my favourite ones:

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