Removed the value generation.
Refactored the method name.
Use the correct AES-CBC algorithm.
Generate keys inside each run.
Fixed the printAverage method.