# Encryption
[![Latest Stable Version](https://img.shields.io/packagist/v/friendsofhyperf/encryption)](https://packagist.org/packages/friendsofhyperf/encryption)
[![Total Downloads](https://img.shields.io/packagist/dt/friendsofhyperf/encryption)](https://packagist.org/packages/friendsofhyperf/encryption)
[![License](https://img.shields.io/packagist/l/friendsofhyperf/encryption)](https://github.com/friendsofhyperf/encryption)
The encryption component for Hyperf.
## Installation
```bash
composer require friendsofhyperf/encryption
```
## Publish Config
```bash
php bin/hyperf.php vendor:publish friendsofhyperf/encryption
```
## Usage
```bash
$encryptString = encrypt($string);
$decryptString = decrypt($encryptString);
```
## Donate
> If you like them, Buy me a cup of coffee.
| Alipay | WeChat |
| ---- | ---- |
| | |
## Contact
- [Twitter](https://twitter.com/huangdijia)
- [Gmail](mailto:huangdijia@gmail.com)
## License
[MIT](LICENSE)