OpenSSL vs. Phpseclib
What is your opinion, I’m looking to do rsa and hashing. I’d like it to be as fast as possible.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’d go with phpseclib myself on the basis that it’s a lot easier to use and deploy than OpenSSL is. OpenSSL’s going to be faster, if you can get it working, but that’s a big if.
One problem with OpenSSL is that it only accepts public keys if they’re in the form of X.509 certificates. It’s also not as widely deployed on servers as one might like (meaning that code that uses it is going to be less portable) and even on those servers that it is deployed on you’re liable to have issues with misconfigured openssl.cnf files.