std1.0.0-beta-7 SafeC docs

std :: crypto::x25519

Function std::x25519_public

#include <std/crypto/x25519.h> source ยท definition

void x25519_public([]unsigned char out, []const unsigned char scalar)

out = scalar * 9 (the base point): the public key for 'scalar'.