src/Gravatar.php
private function getHash($email)
    {
        try {
            $gravatar_hash = md5(strtolower(trim($email)));
            return $gravatar_hash;
        } catch(Exception $e) {
            return false;
        }
    }
private function getHash($email)
    {
        try {
            $gravatar_hash = md5(strtolower(trim($email)));
            return $gravatar_hash;
        } catch(Exception $e) {
            return false;
        }
    }
private function getHash ( $ email ) { try { $ gravatar_hash = md5 ( strtolower ( trim ( $ email ) ) ) ; return $ gravatar_hash ; } catch ( Exception $ e ) { return false ; } }
Get the gravatar hash from an email address.

@param $email

@return bool|string
Get the gravatar hash from an email address .