scryptDeriveKey method

Future<KeyDerivedRes> scryptDeriveKey({
  1. required ScriptDeriveReq req,
  2. dynamic hint,
})
override

Implementation

Future<KeyDerivedRes> scryptDeriveKey(
    {required ScriptDeriveReq req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_script_derive_req(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_scrypt_derive_key(port_, arg0),
    parseSuccessData: _wire2api_key_derived_res,
    parseErrorData: null,
    constMeta: kScryptDeriveKeyConstMeta,
    argValues: [req],
    hint: hint,
  ));
}