deriveKey static method

List<int> deriveKey(
  1. List<int> password,
  2. List<int> salt, {
  3. int dkLen = 32,
  4. int r = 8,
  5. int n = 8192,
  6. int p = 1,
})

Implementation

static List<int> deriveKey(
  List<int> password,
  List<int> salt, {
  int dkLen = 32,
  int r = 8,
  int n = 8192,
  int p = 1,
}) {
  final s = Scrypt(n, r, p);
  return s.derive(password, salt, dkLen);
}