PHPackages                             luojiweiye/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. luojiweiye/phpseclib

ActiveLibrary[Security](/categories/security)

luojiweiye/phpseclib
====================

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

2.0.0(10y ago)018MITPHPPHP &gt;=5.3.3

Since Jul 7Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (13)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.0)](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.0.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

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~113 days

Recently: every ~78 days

Total

12

Last Release

3858d ago

Major Versions

0.3.10 → 1.0.02015-08-04

1.0.0 → 2.0.02015-08-04

1.0.x-dev → 2.0.x-dev2015-12-07

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

2.0.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16223528?v=4)[luojiweiye](/maintainers/luojiweiye)[@luojiweiye](https://github.com/luojiweiye)

---

Top Contributors

[![terrafrost](https://avatars.githubusercontent.com/u/214474?v=4)](https://github.com/terrafrost "terrafrost (1005 commits)")[![bantu](https://avatars.githubusercontent.com/u/189375?v=4)](https://github.com/bantu "bantu (856 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)")[![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)")[![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)")[![vlajos](https://avatars.githubusercontent.com/u/3994645?v=4)](https://github.com/vlajos "vlajos (3 commits)")[![liutec](https://avatars.githubusercontent.com/u/3606208?v=4)](https://github.com/liutec "liutec (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)")[![dagwieers](https://avatars.githubusercontent.com/u/388198?v=4)](https://github.com/dagwieers "dagwieers (2 commits)")[![johnsterling](https://avatars.githubusercontent.com/u/2278029?v=4)](https://github.com/johnsterling "johnsterling (2 commits)")[![kroleg](https://avatars.githubusercontent.com/u/690135?v=4)](https://github.com/kroleg "kroleg (2 commits)")[![metaclassing](https://avatars.githubusercontent.com/u/1027733?v=4)](https://github.com/metaclassing "metaclassing (2 commits)")[![mmcev106](https://avatars.githubusercontent.com/u/2627854?v=4)](https://github.com/mmcev106 "mmcev106 (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/luojiweiye-phpseclib/health.svg)

```
[![Health](https://phpackages.com/badges/luojiweiye-phpseclib/health.svg)](https://phpackages.com/packages/luojiweiye-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)
