KDFScrypt.fromJson constructor

KDFScrypt.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory KDFScrypt.fromJson(Map<String, dynamic> json) {
  return KDFScrypt(
    dklen: json["dklen"],
    n: json["n"],
    r: json["r"],
    p: json["p"],
    salt: BytesUtils.fromHexString(json["salt"]),
  );
}