PHP Secure Communications Library is a set of pure PHP implementations of DES, 3DES, RC4, Rijndael, AES, RSA (PKCS#1 compliant [v2.1]), SSH-1, SSH-2, and SFTP.
| Tags | Networking Security Cryptography Software Development Libraries php classes |
|---|---|
| Licenses | LGPL |
| Implementation | PHP |
Recent releases


Release Notes: This release added Net_SSH2::enableQuietMode() for suppressing stderr, added Crypt_RSA::__toString() and Crypt_RSA::getSize(), fixes problems with File_X509::validateDate(), File_X509::sign(), and Crypt_RSA::verify(), uses OpenSSL to speed up modular exponentiation in Math_BigInteger, improves timeout functionality in Net_SSH2, adds support for SFTPv2, and adds support for CRLs in File_X509. SSH-2.0-SSH doesn't implement hmac-*-96 correctly.


Release Notes: This release adds support for resuming Net_SFTP::put(), support for recursive deletes and recursive chmods to Net_SFTP, setTimeout() to Net_SSH2, support for PBKDF2 to the various Crypt_* classes via setPassword(), File_X509 and File_ASN1, and the ability to decode ANSI escape codes via File_ANSI. Private keys can now be saved in various formats in Crypt_RSA. Net_SSH2::getServerPublicHostKey() returns a printer-friendly version of the public key.


Release Notes: CFB and OFB modes were added to all block ciphers. Support for interactive mode was added to Net_SSH2. Net_SSH2 now has limited keyboard_interactive authentication support. Support was added for PuTTY formatted RSA private keys and XML formatted RSA private keys. Crypt_RSA::loadKey() will now try all key types automatically. Support was added for AES-128-CBC and DES-EDE3-CFB encrypted RSA private keys. Net_SFTP::stat() and Net_SFTP::lstat() were added. Net_SFTP::rawlist() returns information on the file type. Logging was added to Net_SSH1. The license was changed to the less restrictive MIT license.


Release Notes: This release speeds up almost every file, has improved computability, implements RSA blinding, adds support for more public / private RSA keys, implements CTR mode for block ciphers, adds Net_SFTP::rawlist() and Net_SFTP::size(), and improves debugging capabilities. Crypt_Random should now be more cryptographically secure.


Release Notes: This release added Crypt_RSA, support for RSA publickey authentication in Net_SSH2, compatibility improvements, and speed improvements.