[zeromq-dev] CurveZMQ: 16 vs 8 bit nonces

Pieter Hintjens ph at imatix.com
Wed Jul 2 21:26:19 CEST 2014

It says, in the RFC: "We use two kinds of nonces in CurveZMQ. A long
nonce protects permanent keys, and is 16 octets from a good random
number generator. A short nonce protects transient keys and is an
8-octet sequential number."


On Wed, Jul 2, 2014 at 9:13 PM, Diego Duclos
<diego.duclos at palmstonegames.com> wrote:
> Hello all,
> I've been reading up on the CurveZMQ and CurveCP specs.
> I've noticed they use a mix if 8 and 16 bytes nonces, who are then all
> passed to 24 bytes using a constant prefix.
> I was wondering when 8 byte and when 16 byte nonces are chosen as well as
> why.
> Kind Regards,
> Diego Duclos
> Palm Stone Games
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list