-->openssl speed
1024 bits private rsa : 42517 in 9.92s 0.00023s
1024 bits public rsa 856376 in 9.95s 0.000011s --slowest

--> measured
1024 bits rsa encrypt with script - 23 and 21 seconds (5000 times) 0.0044
1024 bits rsa decrypt with script - 25 and 24.25 (5000 times) 0.005

--->aes-128-cbc
323406 in 3 seconds 0.00000927s