DartArgon2id constructor

const DartArgon2id({
  1. required int parallelism,
  2. required int memory,
  3. required int iterations,
  4. required int hashLength,
  5. int? maxIsolates,
  6. int? minBlocksPerSliceForEachIsolate,
  7. int? blocksPerProcessingChunk,
})

Implementation

const DartArgon2id({
  required this.parallelism,
  required this.memory,
  required this.iterations,
  required this.hashLength,
  this.maxIsolates,
  this.minBlocksPerSliceForEachIsolate,
  this.blocksPerProcessingChunk,
})  : assert(parallelism >= 1),
      assert(memory >= 8 * parallelism),
      assert(iterations >= 1),
      assert(hashLength >= 4),
      super.constructor();