libsodium.crypto_kx

D language bindings for libsodium's crypto_kx.h

Members

Functions

crypto_kx_client_session_keys
int crypto_kx_client_session_keys(ubyte[crypto_kx_SESSIONKEYBYTES] rx, ubyte[crypto_kx_SESSIONKEYBYTES] tx, const(ubyte)[crypto_kx_PUBLICKEYBYTES] client_pk, const(ubyte)[crypto_kx_SECRETKEYBYTES] client_sk, const(ubyte)[crypto_kx_PUBLICKEYBYTES] server_pk)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_keypair
int crypto_kx_keypair(ubyte[crypto_kx_PUBLICKEYBYTES] pk, ubyte[crypto_kx_SECRETKEYBYTES] sk)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_primitive
const(char)* crypto_kx_primitive()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_publickeybytes
size_t crypto_kx_publickeybytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_secretkeybytes
size_t crypto_kx_secretkeybytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_seed_keypair
int crypto_kx_seed_keypair(ubyte[crypto_kx_PUBLICKEYBYTES] pk, ubyte[crypto_kx_SECRETKEYBYTES] sk, const(ubyte)[crypto_kx_SEEDBYTES] seed)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_seedbytes
size_t crypto_kx_seedbytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_server_session_keys
int crypto_kx_server_session_keys(ubyte[crypto_kx_SESSIONKEYBYTES] rx, ubyte[crypto_kx_SESSIONKEYBYTES] tx, const(ubyte)[crypto_kx_PUBLICKEYBYTES] server_pk, const(ubyte)[crypto_kx_SECRETKEYBYTES] server_sk, const(ubyte)[crypto_kx_PUBLICKEYBYTES] client_pk)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_sessionkeybytes
size_t crypto_kx_sessionkeybytes()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

crypto_kx_PRIMITIVE
enum crypto_kx_PRIMITIVE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_PUBLICKEYBYTES
enum crypto_kx_PUBLICKEYBYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_SECRETKEYBYTES
enum crypto_kx_SECRETKEYBYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_SEEDBYTES
enum crypto_kx_SEEDBYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
crypto_kx_SESSIONKEYBYTES
enum crypto_kx_SESSIONKEYBYTES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

ISC (see LICENSE.txt)