pbkdf2 method

Future<Uint8List> pbkdf2(
  1. FipsHash hash,
  2. Uint8List password,
  3. Uint8List salt, {
  4. int iterations = 600000,
  5. int count = 32,
})

PBKDF2: salt at least 16 bytes, iterations at least 1000.

Implementation

Future<Uint8List> pbkdf2(
  FipsHash hash,
  Uint8List password,
  Uint8List salt, {
  int iterations = 600000,
  int count = 32,
}) => _backend.pbkdf2(hash, password, salt, iterations, count);