crypto_argon2 function

  1. @Native<Void Function(Pointer<Uint8>, Uint32, Pointer<Void>, crypto_argon2_config, crypto_argon2_inputs, crypto_argon2_extras)>(ffi.Pointer<ffi.Uint8>, ffi.Uint32, ffi.Pointer<ffi.Void>, crypto_argon2_config, crypto_argon2_inputs, crypto_argon2_extras)>()
void crypto_argon2(
  1. Pointer<Uint8> hash,
  2. int hash_size,
  3. Pointer<Void> work_area,
  4. crypto_argon2_config config,
  5. crypto_argon2_inputs inputs,
  6. crypto_argon2_extras extras,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<ffi.Uint8>,
    ffi.Uint32,
    ffi.Pointer<ffi.Void>,
    crypto_argon2_config,
    crypto_argon2_inputs,
    crypto_argon2_extras,
  )
>()
external void crypto_argon2(
  ffi.Pointer<ffi.Uint8> hash,
  int hash_size,
  ffi.Pointer<ffi.Void> work_area,
  crypto_argon2_config config,
  crypto_argon2_inputs inputs,
  crypto_argon2_extras extras,
);