ZMQ_CURVE_KEYPAIR - Online Linux Manual Page
Section : 3
Updated : 01/21/2023
Source : 0MQ 4.3.4
Note : 0MQ Manual
NAMEzmq_curve_keypair − generate a new CURVE keypair
SYNOPSISint zmq_curve_keypair (char *z85_public_key, char *z85_secret_key);
DESCRIPTIONThe zmq_curve_keypair() function shall return a newly generated random keypair consisting of a public key and a secret key. The caller provides two buffers, each at least 41 octets large, in which this method will store the keys. The keys are encoded using zmq_z85_encode(3).
RETURN VALUEThe zmq_curve_keypair() function shall return 0 if successful, else it shall return −1 and set errno to one of the values defined below.
ERRORSENOTSUP The libzmq library was not built with cryptographic support (libsodium).
EXAMPLEGenerating a new CURVE keypair. char public_key [41];
char secret_key [41];
int rc = zmq_curve_keypair (public_key, secret_key);
assert (rc == 0);
SEE ALSOzmq_z85_decode(3) zmq_z85_encode(3) zmq_curve(7)
AUTHORSThis page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at http://www.zeromq.org/docs:contributing. 0
Johanes Gumabo
Data Size : 5,741 byte
man-zmq_curve_keypair.3Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 1,209,300
Visitor ID : :
Visitor IP : 18.222.107.172 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.