newState method

DartArgon2State newState()

Constructs an instance of DartArgon2State.

Implementation

DartArgon2State newState() {
  return DartArgon2State(
    version: version,
    mode: DartArgon2Mode.argon2id,
    memory: memory,
    parallelism: parallelism,
    iterations: iterations,
    hashLength: hashLength,
    maxIsolates: maxIsolates,
    minBlocksPerSliceForEachIsolate: minBlocksPerSliceForEachIsolate,
    blocksPerProcessingChunk: blocksPerProcessingChunk,
  );
}