PHPackages                             a2design-inc/phpseclib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. a2design-inc/phpseclib

ActiveLibrary[Security](/categories/security)

a2design-inc/phpseclib
======================

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

2.0.3(9y ago)01.6k1MITPHPPHP &gt;=5.3.3

Since Jul 7Pushed 5y ago4 watchersCompare

[ Source](https://github.com/a2design-inc/phpseclib)[ Packagist](https://packagist.org/packages/a2design-inc/phpseclib)[ Docs](http://phpseclib.sourceforge.net)[ RSS](/packages/a2design-inc-phpseclib/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (19)Used By (0)

phpseclib - PHP Secure Communications Library
=============================================

[](#phpseclib---php-secure-communications-library)

[![Build Status](https://camo.githubusercontent.com/06da185225833db4cfc533930bd2be33755c627d247b7d2d653135ad5598e7d9/68747470733a2f2f7472617669732d63692e6f72672f7068707365636c69622f7068707365636c69622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpseclib/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

- [Download (1.0.3)](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.3.zip/download)
- [Browse Git](https://github.com/phpseclib/phpseclib)
- [Code Coverage Report](http://phpseclib.bantux.org/code_coverage/master/latest/)

[![PEAR Channel](https://camo.githubusercontent.com/834fe1ab08876fe78adf0836b36d4c1d488648a95192c8ce68680822e53cf20d/687474703a2f2f7068707365636c69622e736f75726365666f7267652e6e65742f706561722d69636f6e2e706e67)](https://camo.githubusercontent.com/834fe1ab08876fe78adf0836b36d4c1d488648a95192c8ce68680822e53cf20d/687474703a2f2f7068707365636c69622e736f75726365666f7267652e6e65742f706561722d69636f6e2e706e67)

PEAR Channel: \[phpseclib.sourceforge.net\]() Documentation
-------------

[](#documentation)

- [Documentation / Manual](http://phpseclib.sourceforge.net/)
- [API Documentation](http://phpseclib.bantux.org/api/master/) (generated by Sami)

Support
-------

[](#support)

Need Support?

- [Checkout Questions and Answers on Stack Overflow](http://stackoverflow.com/questions/tagged/phpseclib)
- [Create a Support Ticket on GitHub](https://github.com/phpseclib/phpseclib/issues/new)
- [Browse the Support Forum](http://www.frostjedi.com/phpbb/viewforum.php?f=46) (no longer in use)

Installing Development Dependencies
-----------------------------------

[](#installing-development-dependencies)

Dependencies are managed via Composer.

1. Download the [`composer.phar`](https://getcomposer.org/composer.phar) executable as per the [Composer Download Instructions](https://getcomposer.org/download/), e.g. by running

    ```
    curl -sS https://getcomposer.org/installer | php
    ```
2. Install Dependencies

    ```
    php composer.phar install
    ```

Contributing
------------

[](#contributing)

1. Fork the Project
2. Install Development Dependencies
3. Create a Feature Branch
4. (Recommended) Run the Test Suite

    ```
    vendor/bin/phpunit
    ```
5. (Recommended) Check whether your code conforms to our Coding Standards by running

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

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~24 days

Total

18

Last Release

3603d ago

Major Versions

0.3.10 → 1.0.02015-08-04

1.0.0 → 2.0.02015-08-04

1.0.1 → 2.0.12016-01-18

1.0.2 → 2.0.22016-05-13

1.0.3 → 2.0.32016-08-18

PHP version history (2 changes)0.3.0PHP &gt;=5.0.0

2.0.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1c049519b875c0017b5aedb8fb36acc48d006476036972867b88fc1dbee5987?d=identicon)[rabbiabram](/maintainers/rabbiabram)

---

Top Contributors

[![terrafrost](https://avatars.githubusercontent.com/u/214474?v=4)](https://github.com/terrafrost "terrafrost (1275 commits)")[![bantu](https://avatars.githubusercontent.com/u/189375?v=4)](https://github.com/bantu "bantu (859 commits)")[![phpsyscoder](https://avatars.githubusercontent.com/u/3170463?v=4)](https://github.com/phpsyscoder "phpsyscoder (53 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (24 commits)")[![cweagans](https://avatars.githubusercontent.com/u/101590?v=4)](https://github.com/cweagans "cweagans (11 commits)")[![montdidier](https://avatars.githubusercontent.com/u/1673628?v=4)](https://github.com/montdidier "montdidier (9 commits)")[![paragonie-scott](https://avatars.githubusercontent.com/u/11591518?v=4)](https://github.com/paragonie-scott "paragonie-scott (7 commits)")[![andrey012](https://avatars.githubusercontent.com/u/3939722?v=4)](https://github.com/andrey012 "andrey012 (7 commits)")[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (6 commits)")[![Joey3000](https://avatars.githubusercontent.com/u/3662335?v=4)](https://github.com/Joey3000 "Joey3000 (5 commits)")[![metaclassing](https://avatars.githubusercontent.com/u/1027733?v=4)](https://github.com/metaclassing "metaclassing (4 commits)")[![johnsterling](https://avatars.githubusercontent.com/u/2278029?v=4)](https://github.com/johnsterling "johnsterling (4 commits)")[![vlajos](https://avatars.githubusercontent.com/u/3994645?v=4)](https://github.com/vlajos "vlajos (3 commits)")[![Gemorroj](https://avatars.githubusercontent.com/u/885731?v=4)](https://github.com/Gemorroj "Gemorroj (3 commits)")[![lukas-w](https://avatars.githubusercontent.com/u/2879917?v=4)](https://github.com/lukas-w "lukas-w (3 commits)")[![paragonie-security](https://avatars.githubusercontent.com/u/15914520?v=4)](https://github.com/paragonie-security "paragonie-security (3 commits)")[![mmcev106](https://avatars.githubusercontent.com/u/2627854?v=4)](https://github.com/mmcev106 "mmcev106 (2 commits)")[![syntaqx](https://avatars.githubusercontent.com/u/6037730?v=4)](https://github.com/syntaqx "syntaqx (2 commits)")[![tamagokun](https://avatars.githubusercontent.com/u/487333?v=4)](https://github.com/tamagokun "tamagokun (2 commits)")[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (2 commits)")

---

Tags

securitycryptographysshencryptionblowfishcryptosignaturesigningrsaaessftpx509asn1BigIntegertwofish

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/a2design-inc-phpseclib/health.svg)

```
[![Health](https://phpackages.com/badges/a2design-inc-phpseclib/health.svg)](https://phpackages.com/packages/a2design-inc-phpseclib)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k455.2M1.5k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k170.7M239](/packages/defuse-php-encryption)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5283.3k30](/packages/ionux-phactor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
