Argon2HashParameters constructor
Argon2HashParameters({})
memory is the memory cost parameter in KiB (default: 4096 = 4MiB).
lanes is the degree of parallelism (default: number of processors).
iterations is the time cost parameter (default: 3, standard Argon2 value).
desiredKeyLength is the output hash length in bytes (default: 32 = 256 bits).
Implementation
Argon2HashParameters({
this.memory = 1 << 12,
final int? lanes,
this.iterations = 3,
this.desiredKeyLength = 32,
}) : lanes = lanes ?? Platform.numberOfProcessors;