Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```