PHPackages                             mpyw/easycrypt - 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. mpyw/easycrypt

ActiveLibrary[Security](/categories/security)

mpyw/easycrypt
==============

A class that provides simple interface for decryptable encryption.

v4.1.3(1y ago)234.7k2MITPHPPHP ^8.2CI passing

Since Aug 9Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/mpyw/EasyCrypt)[ Packagist](https://packagist.org/packages/mpyw/easycrypt)[ RSS](/packages/mpyw-easycrypt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

EasyCrypt [![Build Status](https://github.com/mpyw/EasyCrypt/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/mpyw/EasyCrypt/actions) [![Coverage Status](https://camo.githubusercontent.com/7d2db379e2ba57ed37d84ec7bb37b76e9ad35d9d379dddc1500d7753797bfb26/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d7079772f4561737943727970742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mpyw/EasyCrypt?branch=master)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#easycrypt--)

A class that provides simple interface for **decryptable** encryption.

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

[](#requirements)

- PHP: `^8.2`

Note

Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.

Installing
----------

[](#installing)

```
composer require mpyw/easycrypt

```

Usage
-----

[](#usage)

### Basic

[](#basic)

The default cipher method is `aes256` (`aes-256-cbc`).

```
