fdevs / crypt
FDevs Crypt Component
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/fdevs/crypt
Requires
- php: >=5.5.9 || ~7.0
- fdevs/padding: ^0.1
Requires (Dev)
- ext-mcrypt: *
- symfony/var-dumper: ^3.1
Suggests
- ext-mcrypt: use with AES256 Encryptor
This package is auto-updated.
Last update: 2025-09-28 20:40:11 UTC
README
Installation
Crypt uses Composer, please checkout the composer website for more information.
The simple following command will install fdevs/crypt
into your project. It also add a new
entry in your composer.json
and update the composer.lock
as well.
composer require fdevs/crypt
Usage examples
basic usage
<?php use FDevs\Crypt\Encryptor\AES256; $encryptor = new AES256(); $data = '';//your data $secretKey = '';//very secret key $cryptData = $encryptor->encrypt($data, $secretKey); echo $encryptor->decrypt($cryptData,$secretKey);
License
This library is under the MIT license. See the complete license in the library:
LICENSE
Created by 4devs - Check out our blog for more insight into this and other open-source projects we release.