Argon2Parameters constructor
Argon2Parameters(})
Implementation
Argon2Parameters(
this.type,
this._salt, {
required this.desiredKeyLength,
Uint8List? secret,
Uint8List? additional,
this.iterations = DEFAULT_ITERATIONS,
int? memoryPowerOf2,
int? memory,
this.lanes = DEFAULT_LANES,
this.version = DEFAULT_VERSION,
}) : memory = memoryPowerOf2 != null
? 1 << memoryPowerOf2
: (memory ?? (1 << DEFAULT_MEMORY_COST)),
_secret = secret,
_additional = additional;