Scrypt constructor

Scrypt({
  1. String? signerKey,
  2. String? saltSeparator,
  3. int? rounds,
  4. int? memCost,
  5. int? p,
  6. int? keyLen,
})

Implementation

factory Scrypt({
  $core.String? signerKey,
  $core.String? saltSeparator,
  $core.int? rounds,
  $core.int? memCost,
  $core.int? p,
  $core.int? keyLen,
}) {
  final _result = create();
  if (signerKey != null) {
    _result.signerKey = signerKey;
  }
  if (saltSeparator != null) {
    _result.saltSeparator = saltSeparator;
  }
  if (rounds != null) {
    _result.rounds = rounds;
  }
  if (memCost != null) {
    _result.memCost = memCost;
  }
  if (p != null) {
    _result.p = p;
  }
  if (keyLen != null) {
    _result.keyLen = keyLen;
  }
  return _result;
}