Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 769 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 769 Bytes

salernolabs/slzcrypt

Latest Stable Version License Build Status

Wrapper around OpenSSL encryption in PHP. Another breakout from my custom framework.

Install

Use composer

composer require salernolabs/slzcrypt

Usage

Instantiate a class with a key and encrypt or decrypt data.

$crypt = new \SalernoLabs\Slzcrypt\Crypt($key);

$encrypted = $crypt->encrypt($input);

$decrypted = $crypt->decrypt($encrypted);