[zeromq-dev] RFC 32 - Z85

Bjorn Reese breese at mail1.stofanet.dk
Mon Jul 1 15:19:48 CEST 2013


On 07/01/2013 11:38 AM, Pieter Hintjens wrote:
> I'll explain the reasons for creating Z85.

I still don't get it.

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

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:

     char server_secret [] = "\x00\x11\0x22...\xFF";
     rc = zmq_setsockopt (server, ZMQ_CURVE_SECRETKEY, server_secret,
                          sizeof(sever_secret));




More information about the zeromq-dev mailing list