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
- Host: GitHub
- URL: https://github.com/iamrivu/libcipher
- Owner: iamrivu
- License: gpl-3.0
- Created: 2021-07-09T16:55:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-09T18:49:56.000Z (over 4 years ago)
- Last Synced: 2026-01-11T17:23:48.483Z (3 months ago)
- Topics: cipher-algorithms, openssl, php
- Language: PHP
- Homepage: https://iamrivu.github.io/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```