PHPackages                             erlangparasu/php-rsa - 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. erlangparasu/php-rsa

ActiveLibrary[Security](/categories/security)

erlangparasu/php-rsa
====================

PHP OPENSSL RSA encrypt and decrypt

1.0.2(4y ago)051MITPHP

Since Sep 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/erlangparasu/php-rsa)[ Packagist](https://packagist.org/packages/erlangparasu/php-rsa)[ RSS](/packages/erlangparasu-php-rsa/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP RSA
=======

[](#php-rsa)

### Features:

[](#features)

- create public &amp; private key
- encrypt &amp; decrypt
- encrypt long text
- decrypt long text

### Provide Methods:

[](#provide-methods)

```
_create_rsa($path_private_key, $path_public_key);

_encrypt_rsa($public_key, $text);

_decrypt_rsa($private_key, $encrypted_text);

_big_encrypt_rsa($public_key, $text);

_big_decrypt_rsa($private_key, $encrypted_text);
```

### References:

[](#references)

How to encrypt data in php using Public/Private keys?

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1787d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e34e900c0b28509e2425ba292037b7ed768463de78f5e8aa1b4bc9c7b3c22f?d=identicon)[erlangparasu](/maintainers/erlangparasu)

---

Top Contributors

[![erlangparasu](https://avatars.githubusercontent.com/u/20636828?v=4)](https://github.com/erlangparasu "erlangparasu (3 commits)")

### Embed Badge

![Health badge](/badges/erlangparasu-php-rsa/health.svg)

```
[![Health](https://phpackages.com/badges/erlangparasu-php-rsa/health.svg)](https://phpackages.com/packages/erlangparasu-php-rsa)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[sansec/magento2-module-shield

15218.6k](/packages/sansec-magento2-module-shield)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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