Projects / PHP Secure Communications Library

PHP Secure Communications Library

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.


Recent releases

  •  23 Feb 2014 01:20

    Release Notes: Minor bugfixes. Adds preliminary support for custom SSH subsystems. Adds ssh-agent support.

    •  11 Jun 2013 20:15

      Release Notes: This release adds lots of SFTP changes (the new functions touch, chown, chgrp, and truncate, improved file type detection, put() which can write to the middle of a file, mkdir which accepts the same parameters which PHP's mkdir does, the ability to upload/download 2GB files, and an (internal) redo _realpath function), across-the-board speedups for the various encryption algorithms, multi-factor authentication support for Net_SSH2, a $callback parameter for Net_SSH2::exec \, and Net_SFTP_StreamWrapper, Net_SCP, Crypt_Twofish, and Crypt_Blowfish.

      •  20 Nov 2012 04:23

        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.

        •  08 Jul 2012 23:33

          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.

          •  09 May 2011 12:49

            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.

            Recent comments

            03 May 2010 13:09 sholoktu

            Works so much better than pecl/ssh2.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.