(host, user, port)
return newhash
Get a hash with the host, user and port.

        Args:
            host (str): IMAP host name.
            user (str): IMAP user name.
            port (int): IMAP connection port.

        Returns:
            str: The generated hash.
Get a hash with the host, user and port.
Get a hash with the host user and port .
def get_hash(host, user, port):
        """Get a hash with the host, user and port.

        Args:
            host (str): IMAP host name.
            user (str): IMAP user name.
            port (int): IMAP connection port.

        Returns:
            str: The generated hash.

        """
        newhash = md5()
        newhash.update(host.encode())
        newhash.update(user.encode())
        newhash.update(repr(port).encode())
        return newhash
def get_hash ( host , user , port ) : newhash = md5 ( ) newhash . update ( host . encode ( ) ) newhash . update ( user . encode ( ) ) newhash . update ( repr ( port ) . encode ( ) ) return newhash