[zeromq-dev] RFC 32 - Z85

Pieter Hintjens ph at imatix.com
Mon Jul 1 23:36:27 CEST 2013

On Mon, Jul 1, 2013 at 3:19 PM, Bjorn Reese <breese at mail1.stofanet.dk> wrote:

> First, AFAIK base85 is not compatible with XML (for config files.)

The example I showed was XML. So yes, it's compatible with XML unless
you like to put values between tags instead of in quotes.

> Second, why should ZMQ_CURVE_SECRETKEY use any encoding at all? Instead
> I would expect that the config file reader (or thereabout) does the
> conversion to binary. If you want to specify the binary blob in code,
> use the hexadecimal escape sequence:

Do all languages accept the same escape sequences?

If you want to change ZMQ_CURVE_xxxKEY, go ahead, it's quite simple.
If you look at the man page and/or source you'll see it accepts binary
but also accepts Z85 depending on the size of blob you give it.


More information about the zeromq-dev mailing list