fdevs/crypt

FDevs Crypt Component

Maintainers

Details

github.com/4devs/crypt

Source

Issues

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

pkg:composer/fdevs/crypt

dev-master 2016-07-27 18:38 UTC

This package is auto-updated.

Last update: 2025-09-28 20:40:11 UTC


README

Build Status

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.