generateDerivedParametersWithIV method
Generates a derived key with the given keySize
in bytes and a derived IV with the given ivSize
.
Implementation
@override
ParametersWithIV generateDerivedParametersWithIV(int keySize, int ivSize) {
var dKey = _generateDerivedKey(KEY_MATERIAL, keySize);
var iv = _generateDerivedKey(IV_MATERIAL, ivSize);
return ParametersWithIV(KeyParameter(dKey), iv);
}