@Override
    public ToolDescription description() {
        return new ToolDescription(
                "--from <base N> --to <base M>",
                ("Reads up to %d bytes of STDIN interpreted as a base N string (ignoring " +
                 "whitespace) and writes to STDOUT as a base M string. Note that base 64 is " +
                 "expected to be in (and is output as) the URL-safe alphabet (padding optional " +
                 "for input, no padding for output).").formatted(MAX_IN_BYTES),
                "Note: this is a BETA tool version; its interface may be changed at any time.",
                OPTIONS);
    }
Simple tool to convert between different Base N encodings, for a fixed set of N.

@author vekterli
vespaclient-java/src/main/java/com/yahoo/vespa/security/tool/crypto/ConvertBaseTool.java