DartArgon2id constructor

const DartArgon2id({
  1. required int parallelism,
  2. required int memorySize,
  3. required int iterations,
  4. required int hashLength,
})

Implementation

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