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));
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev