phpseclib: PHP Secure Communications Library

The PHP Secure Communications Library contains LGPL-licensed pure-PHP implementations of arbitrary-precision integers, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, SSH-1, SSH-2, and SFTP. Although many of the features this library implements are implemented in PHP via optional extensions, what are you, as a developer, going to do when a user tries to run your software on a host which, coincidentally, doesn’t happen to have that optional extension installed? This library uses those optional extensions if they’re available and falls back on an internal PHP implementation if they’re not. This library is written using the same conventions that libraries in the PHP Extension and Application Repository (PEAR) have been written in.


Leave a Reply