crypto_x25519 function

  1. @Native<Void Function(Pointer<Uint8>, Pointer<Uint8>, Pointer<Uint8>)>(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>)>()
void crypto_x25519(
  1. Pointer<Uint8> raw_shared_secret,
  2. Pointer<Uint8> your_secret_key,
  3. Pointer<Uint8> their_public_key
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
  )
>()
external void crypto_x25519(
  ffi.Pointer<ffi.Uint8> raw_shared_secret,
  ffi.Pointer<ffi.Uint8> your_secret_key,
  ffi.Pointer<ffi.Uint8> their_public_key,
);