jaeger-app/encrypt

A simple encryption wrapper.

0.1.3 2016-11-30 09:30 UTC

This package is not auto-updated.

Last update: 2020-07-08 04:34:15 UTC


README

Build Status Scrutinizer Code Quality Author GitHub license

Provides a simple API to handle encrypting and decrypting strings.

Installation

Add jaeger-app/encrypt as a requirement to your composer.json:

$ composer require jaeger-app/encrypt

Basic Usage

$encrypt = new Encrypt();
$encrypt->setKey($encryption_key);
$encoded = $encrypt->encode($string);
$decoded = $encrypt->decode($encoded);
$guid = $encrypt->guid();