-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Maurizio Urso edited this page Aug 3, 2023
·
2 revisions
Just like Laravel, this library use OpenSSL to provide AES-256 and AES-128 encryption.
Currently only GCM (Galois/Counter Mode) and CBC (Cipher Block Chaining) modes are supported, both with 256 and 128 bits.
Depending on the algorithm you choose you obtain different keys length:
- 16 for 128 bits algorithms
- 32 for 256 bits algorithms
The keys are encoded in base64 to prevent data loss while printing them in the console