[zeromq-dev] CurveZMQ data encryption

Tom tlinden at cpan.org
Mon Aug 31 17:08:22 CEST 2015


>    2015-08-26 12:10 GMT+02:00 Pieter Hintjens <[1]ph at imatix.com>:
>      With ECC there is no symmetric/asymmetric choice. Or rather, it is
>      asymmetric with the performance characteristics of symmetric.

Correct me if I'm wrong, but ZeroMQ uses crypto_box() for the actual
crypto operation, does it? In that case the correct answer would be:

crypto_box() calculates the shared secret using scalar multiplication
from the senders private key and the recipients public key, encrypts the
data symmetrically using that shared secret and appends a mac when done.



- Tom



More information about the zeromq-dev mailing list