wdalmut/rc4-support

0.0.1 2015-05-19 21:40 UTC

This package is not auto-updated.

Last update: 2024-10-26 18:11:56 UTC


README

Build Status

RC4 implementation for PHP

Usage

<?php

$rc4 = new RC4("some-super-secret-key");

// Use __invoke magic function
echo $rc4("something-to-obfuscate") . PHP_EOL;

// Or use a direct method
echo $rc4->rc4("something-to-obfuscate") . PHP_EOL;

Tests

Just run them

./vendor/bin/phpunit tests