Registry / crypto / illuminate-encryption

illuminate-encryption

JSON →
library11.37.0phppackagistunverified

The Illuminate Encryption package.

composer require illuminate/encryption
INSTALL
IMPORT
SIG · ILLUMINATE-ENCRYPT
I
illuminate-encryption
cryptophpv11.37.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Encrypter
use Illuminate\Encryption\Encrypter;

Encrypt and decrypt data using AES-256-CBC.

use Illuminate\Encryption\Encrypter; $encrypter = new Encrypher('a-32-character-key-here!'); $encrypted = $encrypter->encrypt('secret'); $decrypted = $encrypter->decrypt($encrypted);
Debug
Known issues
breakingThe encryption key must be exactly 32 characters for AES-256-CBC.
fix
Generate a 32-character key using `base64_encode(random_bytes(32))`.
affects: >=5.0.0
Upgrade
Version history
11.37.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
Resources
illuminate-encryption — pip install illuminate-encryption · libregistry