An open API service indexing awesome lists of open source software.

https://github.com/iamrivu/libcipher

AES-256-CBC key based encryption and decryption in PHP
https://github.com/iamrivu/libcipher

cipher-algorithms openssl php

Last synced: 3 months ago
JSON representation

AES-256-CBC key based encryption and decryption in PHP

Awesome Lists containing this project

README

          

## AES-256-CBC key based encryption and decryption in PHP

```sh
composer require soumik/libcipher

require_once __DIR__ . "/vendor/autoload.php";
use libcipher\src as lib;

lib\Cipher::encrypt("Your text", "Random key 1st pair", "Random key 2nd pair");

lib\Cipher::decrypt("Your encrypted text", "Key 1st pair", "Key 2nd pair");
```

```sh
@version PHP >= 7.4
GNU GENERAL PUBLIC LICENSE
```