thegiant/algorithms

This packages is useful for data encryption and decryption

v1.0.5 2024-02-19 14:33 UTC

This package is auto-updated.

Last update: 2024-04-19 14:49:16 UTC


README

Description

This package is useful for data encryption and decryption

Installation

This package can be installed via composer

composer require thegiant/algorithms

Laravel >= 5.5

The package is auto-discovered on 5.5 and up!

Laravel <= 5.4

Add the service provider to the providers array in your config/app.php file:

'providers' => [
    // Other Laravel service providers...

    /*
    * Package Service Providers...
    */
    Thegiant\Aes\AesServiceProvider::class,

    // Other package service providers...
],

Publish Usable Helpers

php artisan vendor:publish --tag=thegiant-aes-helper --force

Note: use --force to update the existing files.

Usage

Create Encryption and Dencryption key in .env file with the following Variables

AES_KEY=
AES_IV=

Contributions

Contributions and feedback are welcome! Feel free to open an issue or submit a pull request on GitHub.

License

This package is open-source software licensed under the [MIT] license.