crypto_x25519_public_key function
Shared secrets are not quite random. Hash them to derive an actual shared key.
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>)>()
external void crypto_x25519_public_key(
ffi.Pointer<ffi.Uint8> public_key,
ffi.Pointer<ffi.Uint8> secret_key,
);