PHPackages                             halalsoft/skip32 - 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. halalsoft/skip32

ActiveLibrary[Security](/categories/security)

halalsoft/skip32
================

Skip32 php implementation - 32-bit block cipher based on Skipjack

0.1(5y ago)042UNLICENSEPHP

Since Jun 28Pushed 5y agoCompare

[ Source](https://github.com/HalalSoft/Skip32)[ Packagist](https://packagist.org/packages/halalsoft/skip32)[ RSS](/packages/halalsoft-skip32/feed)WikiDiscussions master Synced 3w ago

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

Skip32 php implementation
=========================

[](#skip32-php-implementation)

32-bit block cipher based on Skipjack

This cipher can be handy for scrambling small (32-bit) values when you would like to obscure them while keeping the encrypted output size small (also only 32 bits).

Skip32.php
----------

[](#skip32php)

Simple API to encrypt/decrypt values using the Skip32 cipher

Example :

```
$key = '0123456789abcdef0123'; // 10 bytes key
$int = 4294967295; // 4 bytes integer

$encrypted = Skip32::encrypt($key, $int);
$decrypted = Skip32::decrypt($key, $encrypted);

printf("%d encrypted to %d\n", $int, $encrypted);
printf("%d decrypted to %d\n", $encrypted, $decrypted);

```

This will display (on 64-bit architecture) :

```
4294967295 encrypted to 572455217
572455217 decrypted to 4294967295

```

Skip32Cipher.php
----------------

[](#skip32cipherphp)

Adaptation of a direct Perl translation of the SKIP32 C implementation

Example :

```
$key = pack('H20', '0123456789abcdef0123'); // 10 bytes key
$cipher = new Skip32Cipher($key);

$int = 4294967295; // 4 bytes integer

$bin = pack('N', $int);
$encrypted = $cipher->encrypt($bin);
list(, $encryptedInt) = unpack('N', $encrypted);

printf("%d encrypted to %d\n", $int, $encryptedInt);

$bin = pack('N', $encryptedInt);
$decrypted = $cipher->decrypt($bin);
list(, $decryptedInt) = unpack('N', $decrypted);

printf("%d decrypted to %d\n", $encryptedInt, $decryptedInt);

```

This will display (on 64-bit architecture) :

```
4294967295 encrypted to 572455217
572455217 decrypted to 4294967295

```

Performed by Nicolas Lenepveu

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

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

1832d ago

### Community

Maintainers

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

---

Top Contributors

[![nlenepveu](https://avatars.githubusercontent.com/u/508650?v=4)](https://github.com/nlenepveu "nlenepveu (6 commits)")[![dyaskur](https://avatars.githubusercontent.com/u/9539970?v=4)](https://github.com/dyaskur "dyaskur (3 commits)")[![piersroberts](https://avatars.githubusercontent.com/u/362272?v=4)](https://github.com/piersroberts "piersroberts (2 commits)")

### Embed Badge

![Health badge](/badges/halalsoft-skip32/health.svg)

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

###  Alternatives

[mews/purifier

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

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

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)

PHPackages © 2026

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