Hi,
I am using PHP Crypt_RSA (http://pear.php.net/package/Crypt_RSA) for encrypting and decrypting the contents. Contents are of 1kb size. Following are the results:
- keylength = 1024
- Encryption function takes time: 225 secs
- keylength = 2048
- Encryption function takes time: 115 secs
I need to reduce this execution time as most of the live apache servers have 120 sec limit for execution time. How to reduce this execution time? RSA alorithm docs says the only 1024 - 2048 keys are generated. I ACTUALLY tried to generate larger key, but it always results in execution timeout.
How do i work on reducing encryption - decryption execution time?
Thanks, Nila