Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zqhong/encrypter
A powerful encrypter library based on illuminate/encryption
https://github.com/zqhong/encrypter
aes-256-ctr encrypter rc4-md5
Last synced: about 1 month ago
JSON representation
A powerful encrypter library based on illuminate/encryption
- Host: GitHub
- URL: https://github.com/zqhong/encrypter
- Owner: zqhong
- Created: 2017-04-09T05:17:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T10:16:31.000Z (over 7 years ago)
- Last Synced: 2024-11-29T12:05:37.741Z (about 1 month ago)
- Topics: aes-256-ctr, encrypter, rc4-md5
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Encrypter - A powerful encrypter library based on illuminate/encryption
The encryption algorithms that Encrypter supports:
* AES-128-CFB
* AES-192-CFB
* AES-256-CFB
* RC4
* RC4-MD5# Simple
```php
encryptString($plainText);
echo $payload . PHP_EOL;
echo $encrypter->decryptString($payload) . PHP_EOL;// will output
//eyJpdiI6IiIsInZhbHVlIjoiMDIxR1dXcHg4K21yR2RBPSIsIm1hYyI6ImRhYzFjYWFjODg5ODA1MWFlMWE0OTZmYTNjMTlkYWIxNDExZjAzYzU2ZjlhM2FmMTY1ZWYwYjFkYTJiZjJkNjgifQ==
//hello world
```