2017 © Pedro Peláez
 

library crypt

Cross Platform Encryption And Decryption

image

tzsk/crypt

Cross Platform Encryption And Decryption

  • Wednesday, August 16, 2017
  • by kazimahmed
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 8 % Grown

The README.md

Crypt for Laravel

Latest Version on Packagist ![Software License][ico-license] Build Status StyleCI Quality Score ![Total Downloads][ico-downloads], (*1)

Cross Platform Encryption and Decryption with Laravel. Mostly used for API Response Encryption and Decrypt at app Level., (*2)

Compatible with Laravel 5.1 or Higher., (*3)

Install

Via Composer, (*4)

``` bash $ composer require tzsk/crypt, (*5)


## Configure ` config/app.php ` ```php 'providers' => [ ... Tzsk\Crypt\Provider\CryptServiceProvider::class, ... ], 'aliases' => [ ... 'StrCrypt' => Tzsk\Crypt\Facade\StrCrypt::class, ... ],

To publish the Configuration file in config/crypt.php Run:, (*6)

php artisan vendor:publish --tag=config

Usage

First use the namespace at the top:, (*7)

use Tzsk\Crypt\Facade\StrCrypt;

Then use it as following:, (*8)

``` php $text = "Hello World!";, (*9)

$encrypted = StrCrypt::encrypt($text);, (*10)

$decrypted = StrCrypt::decrypt($encrypted); ```, (*11)

Change log

Please see CHANGELOG for more information on what has changed recently., (*12)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*13)

Security

If you discover any security related issues, please email mailtokmahmed@gmail.com instead of using the issue tracker., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

16/08 2017

dev-master

9999999-dev https://github.com/tzsk/crypt

Cross Platform Encryption And Decryption

  Sources   Download

MIT

The Requires

 

The Development Requires

crypt tzsk

16/08 2017

1.0.1

1.0.1.0 https://github.com/tzsk/crypt

Cross Platform Encryption And Decryption

  Sources   Download

MIT

The Requires

 

The Development Requires

crypt tzsk

16/08 2017

1.0.0

1.0.0.0 https://github.com/tzsk/crypt

Cross Platform Encryption And Decryption

  Sources   Download

MIT

The Requires

 

The Development Requires

crypt tzsk