PHPackages                             noorani-mm/encoder-algorithm - 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. noorani-mm/encoder-algorithm

ActiveLibrary[Security](/categories/security)

noorani-mm/encoder-algorithm
============================

This package provides a simple encryption and decryption functionality for securing sensitive information in your PHP applications. It offers easy-to-use methods for encrypting plaintext data into ciphertext and decrypting ciphertext back into its original plaintext form.

v2.0.0(2y ago)411MITPHP

Since Feb 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Noorani-MM/encoder-algorithm)[ Packagist](https://packagist.org/packages/noorani-mm/encoder-algorithm)[ RSS](/packages/noorani-mm-encoder-algorithm/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

CryptoHandler 🔏
===============

[](#cryptohandler-)

This package provides a simple encryption and decryption functionality for securing sensitive information in your PHP applications. It offers easy-to-use methods for encrypting plaintext data into ciphertext and decrypting ciphertext back into its original plaintext form.

Features 🔧
----------

[](#features-)

- Ease of Use: Simple and straightforward API for encryption and decryption operations.
- Well-Documented: Comprehensive documentation and usage examples to help you get started quickly.

How to install
--------------

[](#how-to-install)

```
composer require noorani-mm/encoder-algorithm
```

How to use ⚒️
-------------

[](#how-to-use-️)

### Encrypting Content

[](#encrypting-content)

To encrypt content, use the `Encrypt` method:

```
$content = "Your content here";
$encrypted_content = CryptoHandler::Encrypt($content);
echo $encrypted_content; // a6908a8ddf9c90918b9a918bdf979a8d9a
```

### Decrypting Content

[](#decrypting-content)

To decrypt content, use the `Decrypt` method:

```
$hex = "a6908a8ddf9c90918b9a918bdf979a8d9a";
$decrypted_content = CryptoHandler::Decrypt($hex);
echo $decrypted_content; // Your content here
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~16 days

Total

3

Last Release

826d ago

Major Versions

v1.x-dev → v2.0.02024-03-29

### Community

Maintainers

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

---

Top Contributors

[![Noorani-MM](https://avatars.githubusercontent.com/u/74505328?v=4)](https://github.com/Noorani-MM "Noorani-MM (23 commits)")

---

Tags

composerdecodedecoderdecryptionencodeencoderencryptionphpphpencodedecodeencoderdecoderdecryptionencyption

### Embed Badge

![Health badge](/badges/noorani-mm-encoder-algorithm/health.svg)

```
[![Health](https://phpackages.com/badges/noorani-mm-encoder-algorithm/health.svg)](https://phpackages.com/packages/noorani-mm-encoder-algorithm)
```

###  Alternatives

[payu/apple-pay

ApplePay Token Decoder

511.0M](/packages/payu-apple-pay)[dflydev/base32-crockford

Encode/decode numbers using Douglas Crockford's Base32 Encoding

14416.4k1](/packages/dflydev-base32-crockford)[ph-7/obfuscator

 Simple and effective Obfuscator PHP class (this is not a stupid base64 encoding script, but a real and effective obfuscation script)

3762.6k](/packages/ph-7-obfuscator)[camcima/dukpt-php

DUKPT implementation in PHP

26154.0k](/packages/camcima-dukpt-php)[poly-crypto/poly-crypto

High-level cryptographic functions that are interoperable between NodeJS and PHP 7.1+

128.1k1](/packages/poly-crypto-poly-crypto)

PHPackages © 2026

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