PHPackages                             websoftwares/cipher - 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. websoftwares/cipher

ActiveLibrary[Security](/categories/security)

websoftwares/cipher
===================

Encrypts/decrypts text with RIJNDAEL 256 Cipher

118PHP

Since Mar 31Pushed 13y agoCompare

[ Source](https://github.com/websoftwares/Cipher)[ Packagist](https://packagist.org/packages/websoftwares/cipher)[ RSS](/packages/websoftwares-cipher/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Cipher
======

[](#cipher)

Encrypts/decrypts text with RIJNDAEL 256 Cipher.

[![Build Status](https://camo.githubusercontent.com/bd3355c2578b0b5370aa85b6d88c6abd11bb96573bd2b609abcde199f6dc465b/68747470733a2f2f6170692e7472617669732d63692e6f72672f776562736f667477617265732f4369706865722e706e67)](https://travis-ci.org/websoftwares/Cipher)

Usage
-----

[](#usage)

```
    $securekey = '4s05Gim69k6Cn7E4Wl03cEI5v9K49l95';

    $size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CFB);
    $iv = mcrypt_create_iv($size, MCRYPT_DEV_URANDOM);

    $cipher = new Cipher($securekey, $iv);

    $encrypted = $cipher->encrypt('MySuperSecretText');
    $decrypted = $cipher->decrypt($encrypted);

    echo $decrypted;

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.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.

### Community

Maintainers

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

---

Top Contributors

[![websoftwares](https://avatars.githubusercontent.com/u/946561?v=4)](https://github.com/websoftwares "websoftwares (5 commits)")[![BorisSimoni](https://avatars.githubusercontent.com/u/1969775?v=4)](https://github.com/BorisSimoni "BorisSimoni (2 commits)")

### Embed Badge

![Health badge](/badges/websoftwares-cipher/health.svg)

```
[![Health](https://phpackages.com/badges/websoftwares-cipher/health.svg)](https://phpackages.com/packages/websoftwares-cipher)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M139](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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