toSync method

DartPbkdf2 toSync()

Returns a pure Dart implementation of PBKDF2 with the same parameters.

Implementation

DartPbkdf2 toSync() {
  return DartPbkdf2(
    macAlgorithm: macAlgorithm.toSync(),
    iterations: iterations,
    bits: bits,
  );
}