sinevia / php-library-crypt
PHP Library Crypt
v1.0.0
2018-04-12 04:23 UTC
This package is auto-updated.
Last update: 2024-12-10 10:07:32 UTC
README
The Crypt package provides pure PHP encryption methods with no external dependencies.
Background
Installation
Add the following to your composer file:
"repositories": [ { "type": "vcs", "url": "https://github.com/sinevia/php-library-crypt.git" } ], "require": { "sinevia/php-library-crypt": "dev-master" },
Usage
$pass = 'test'; $enc = Sinevia\Crypt::xorEncode('test',$pass); $dec = Sinevia\Crypt::xorDecode(enc,$pass);