PBKDF2 static method

Uint8List PBKDF2(
  1. {String hasher = HashAlgorithms.SHA256,
  2. int iterations = 250000,
  3. int keySize = 4,
  4. required Uint8List salt,
  5. required dynamic password,
  6. int? blockLength}
)

Implementation

static Uint8List PBKDF2({
  String hasher = HashAlgorithms.SHA256,
  int iterations = 250000,
  int keySize = 4,
  required Uint8List salt,
  required dynamic password,
  int? blockLength,
}) {
  return pbkdf2.PBKDF2(
    iterations: iterations,
    salt: salt,
    password: password,
    hasher: hasher,
    blockLength: blockLength,
    keySize: keySize,
  );
}