crypto_eddsa_sign function

  1. @Native<Void Function(Pointer<Uint8>, Pointer<Uint8>, Pointer<Uint8>, Size)>(ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Pointer<ffi.Uint8>, ffi.Size)>()
void crypto_eddsa_sign(
  1. Pointer<Uint8> signature,
  2. Pointer<Uint8> secret_key,
  3. Pointer<Uint8> message,
  4. int message_size,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Pointer<ffi.Uint8>,
    ffi.Size,
  )
>()
external void crypto_eddsa_sign(
  ffi.Pointer<ffi.Uint8> signature,
  ffi.Pointer<ffi.Uint8> secret_key,
  ffi.Pointer<ffi.Uint8> message,
  int message_size,
);