PHPSecLib

phpseclib provides security implementations for PHP, such as SSH, RSA, and SFTP. Because it is written in pure PHP, it works on servers where the usual cryptography extensions are missing. Developers use it to connect securely to other systems and to encrypt data.