PHPackages                             deemru/cryptash - 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. deemru/cryptash

ActiveLibrary[Security](/categories/security)

deemru/cryptash
===============

Hash-based encrypt/decrypt

1.0.6(1mo ago)29.4k↑266.7%1MITPHPPHP &gt;=5.4CI passing

Since Jan 13Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/deemru/Cryptash)[ Packagist](https://packagist.org/packages/deemru/cryptash)[ Docs](https://github.com/deemru/Cryptash)[ RSS](/packages/deemru-cryptash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (8)Used By (1)

Cryptash
========

[](#cryptash)

[![packagist](https://camo.githubusercontent.com/83302bdb6b4eb7d889efa7a15cb417fd8ac6ab1b363f27348fdef6e3d8dcb4d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465656d72752f63727970746173682e737667)](https://packagist.org/packages/deemru/cryptash) [![php-v](https://camo.githubusercontent.com/4dd085bdc59d97d5728876a0589db32cdbebdadfec868550eee7a0a86040848d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6465656d72752f63727970746173682e737667)](https://packagist.org/packages/deemru/cryptash) [![GitHub](https://camo.githubusercontent.com/e33f97c8d16218d2a62e5a67df377ef66756a5f14f356d3f9c95d8c11fb1729c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6465656d72752f43727970746173682f7068702e796d6c3f6c6162656c3d676974687562253230616374696f6e73)](https://github.com/deemru/Cryptash/actions/workflows/php.yml) [![codacy](https://camo.githubusercontent.com/22146011be44c140d587b7a2cd1ba3247950f8e7e4b77d52e4e1ca86d809e8ec/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f65393639393762653435343134366639616366373261616530316336303463612e7376673f6c6162656c3d636f64616379)](https://app.codacy.com/gh/deemru/Cryptash/files) [![license](https://camo.githubusercontent.com/7f0900597309e9da15ae07746a8e43ab026c42577dedb814ba15ecfb04d1f3c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465656d72752f63727970746173682e737667)](https://packagist.org/packages/deemru/cryptash)

[Cryptash](https://github.com/deemru/Cryptash) implements hash based encryption with user-defined size of [IV](https://en.wikipedia.org/wiki/Initialization_vector) and [MAC](https://en.wikipedia.org/wiki/Message_authentication_code).

It is a pretty simple way to protect and verify your data transfers which goes outside.

Usage
-----

[](#usage)

```
$cryptash = new Cryptash( 'Password' );
$msg = 'Hello, world!';

$encrypted = $cryptash->encryptash( $msg );
$decrypted = $cryptash->decryptash( $encrypted );

if( $decrypted !== $msg )
    exit( 1 );
```

Requirements
------------

[](#requirements)

- [PHP](http://php.net) &gt;=5.4

Installation
------------

[](#installation)

Require through Composer:

```
{
    "require": {
        "deemru/cryptash": "1.0.*"
    }
}
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance67

Regular maintenance activity

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~438 days

Recently: every ~270 days

Total

7

Last Release

51d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10706633?v=4)[Dmitrii Pichulin](/maintainers/deemru)[@deemru](https://github.com/deemru)

---

Top Contributors

[![deemru](https://avatars.githubusercontent.com/u/10706633?v=4)](https://github.com/deemru "deemru (9 commits)")

---

Tags

authenticityconfidentialitycryptographydecryptencryptintegrityphpcryptographyintegrityauthenticityconfidentiality

### Embed Badge

![Health badge](/badges/deemru-cryptash/health.svg)

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4641.2M21](/packages/paragonie-ciphersweet)[simplito/elliptic-php

Fast elliptic curve cryptography

2312.2M254](/packages/simplito-elliptic-php)[rych/phpass

PHP Password Library: Easy, secure password management for PHP

248801.7k4](/packages/rych-phpass)[vlucas/pikirasa

PKI public/private RSA key encryption using the OpenSSL extension

104101.1k1](/packages/vlucas-pikirasa)

PHPackages © 2026

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