PBKDF2 static method
Uint8List
PBKDF2(- {String hasher = HashAlgorithms.SHA256,
- int iterations = 250000,
- int keySize = 4,
- required Uint8List salt,
- required dynamic password,
- 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,
);
}