Skip to content
PHP Secure Communications Library
PHP Shell
Branch: master
Clone or download
terrafrost Merge pull request #1390 from terrafrost/diffie-hellman
add a new diffie-hellman key exchange class
Latest commit d51b72a Aug 13, 2019

phpseclib - PHP Secure Communications Library

Build Status

Supporting phpseclib


MIT-licensed pure-PHP implementations of an arbitrary-precision integer arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509




  • Development Branch
  • Unstable API
  • Do not use in production


  • Long term support (LTS) release
  • Modernized version of 1.0
  • Minimum PHP version: 5.3.3
  • PSR-4 autoloading with namespace rooted at \phpseclib
  • Install via Composer: composer require phpseclib/phpseclib:~2.0


Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.


Need Support?


  1. Fork the Project

  2. Ensure you have Composer installed (see Composer Download Instructions)

  3. Install Development Dependencies

    composer install
  4. Create a Feature Branch

  5. (Recommended) Run the Test Suite

  6. (Recommended) Check whether your code conforms to our Coding Standards by running

    vendor/bin/phing -f build/build.xml sniff
  7. Send us a Pull Request

You can’t perform that action at this time.