Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmisgod/php-aes
Encryption and decryption using asymmetric cryptography (using OpenSSL extention)
https://github.com/zmisgod/php-aes
aes aes-256 aes-cbc php php7
Last synced: about 2 months ago
JSON representation
Encryption and decryption using asymmetric cryptography (using OpenSSL extention)
- Host: GitHub
- URL: https://github.com/zmisgod/php-aes
- Owner: zmisgod
- Created: 2017-06-22T06:48:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T01:33:17.000Z (about 7 years ago)
- Last Synced: 2024-10-12T18:55:00.824Z (3 months ago)
- Topics: aes, aes-256, aes-cbc, php, php7
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-aes
> based on PHP OpenSSL extensionThis Aes Class using OpenSSL extension of PHP.
[The official of PHP manual suggest us using OpenSSL to replace Mcrypt extention](http://php.net/manual/en/migration71.deprecated.php "Why am i using OpenSSL extension")## before using this
* Check your php extension and find OpenSSL.
`php -m | grep openssl`
## install
```
composer require zmisgod/php-aes
```## usage
Here is a example
```
encrypt( 'star zmisgod' );
echo $encrypt . PHP_EOL;
//output : xviTncBNkTIg/44a27uGzw==echo $aes->decrypt( $encrypt ) . PHP_EOL;
//output : star zmisgod
```## contact