jaeger-app/encrypt

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple encryption wrapper.

0.1.3 2016-11-30 09:30 UTC

This package is auto-updated.

Last update: 2023-11-18 01:56:13 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();