Recommend this page to a friend! |
Classes of Scott Arciszewski | Easy PHP RSA Library | README.md | Download |
|
DownloadEasyRSASimple and Secure Wrapper for phpseclib. Important!For better security, you want to use libsodium, not EasyRSA. MotivationAlthough the long-term security of RSA is questionable (at best) given the advances in index calculus attacks, there are many issues with how RSA is implemented in popular PHP cryptography libraries that make it vulnerable to attacks today. Thanks to the folks who developed phpseclib, it's possible to use secure RSA in PHP. However, it's not user-friendly enough for the average PHP developer to use to its full potential. So we took it upon ourselves to offer a user-friendly interface instead. EasyRSA is MIT licensed and brought to you by the secure PHP development team at Paragon Initiative Enterprises. How to use this library?
Generating RSA key pairsYou can generate 2048-bit keys (or larger) using EasyRSA. The default size is 2048.
Getting the Raw Key
Encrypting/Decrypting a Message
Signing/Verifying a Message
CompatibilityEasyRSA is only compatible with itself. It is not compatible with OpenGPG (GnuPG, Mailvelope, etc.) You'll want GPG-Mailer instead. What Does it Do Under the Hood?
Support ContractsIf your company uses this library in their products or services, you may be interested in purchasing a support contract from Paragon Initiative Enterprises. |