generateDerivedParameters method
Generates a derived key with the given keySize
in bytes.
Implementation
@override
KeyParameter generateDerivedParameters(int keySize) {
if (keySize > digest.digestSize) {
throw ArgumentError("Can't generate a derived key $keySize bytes long.");
}
var dKey = generateDerivedKey();
return KeyParameter(dKey);
}