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
Requires
- php: >=5.4.0
- jaeger-app/exceptions: ^0.1
- phpseclib/phpseclib: ~2.0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2023-11-18 01:56:13 UTC
README
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();