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(4y ago)042UNLICENSEPHP

Since Jun 28Pushed 4y agoCompare

[ Source](https://github.com/HalalSoft/Skip32)[ Packagist](https://packagist.org/packages/halalsoft/skip32)[ RSS](/packages/halalsoft-skip32/feed)WikiDiscussions master Synced 6d 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

Maturity41

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

1785d 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

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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