RSA Key Generator for PHP