Skip to content

cf_crypto_sign_keygen

Category: net
GitHub: cute_networking.h


Generates a cryptographically secure keypair, used for facilitating connect tokens.

void cf_crypto_sign_keygen(CF_CryptoSignPublic* public_key, CF_CryptoSignSecret* secret_key);
Parameters Description
public_key The public key of the keypair. Freely share this publicy.
secret_key The secret key of the keypair. Keep this safe and hidden within your servers.

CF_CryptoKey
cf_crypto_generate_key
cf_generate_connect_token