pbkdf2Sha512DeriveKey method
Derives length bytes with PBKDF2-HMAC-SHA512 from arbitrary password/salt.
iterations and length must be non-negative. Throws on negative values or backend failure.
Implementation
@override
BuBytes pbkdf2Sha512DeriveKey({
required List<int> password,
required List<int> salt,
required int iterations,
required int length,
}) {
_isValid([iterations, length], "pbkdf2Sha512DeriveKey");
return inner.pbkdf2Sha512DeriveKey(
password: password,
salt: salt,
iterations: iterations,
length: length,
);
}