@classmethod
def encode(cls, password):
    """
        Encode a password.

        Args:
            password (str): Unencoded password.

        Returns:
            str: Encoded password.
        """
    return cls(password).encoded
