[zeromq-dev] CurveZMQ: 16 vs 8 bit nonces
Diego Duclos
diego.duclos at palmstonegames.com
Wed Jul 2 21:29:48 CEST 2014
Thanks a lot Pieter, I had missed that section.
I still miss the why somewhat though, is this purely to save computing
power as the transient keys are less important to protect then the
permanent keys ? And thus use shorter nonces.
On Wed, Jul 2, 2014 at 9:26 PM, Pieter Hintjens <ph at imatix.com> wrote:
> 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."
>
> http://rfc.zeromq.org/spec:26
>
> 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
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140702/f5d41cce/attachment.htm>
More information about the zeromq-dev
mailing list