wdalmut/rc4-support

0.0.1 2015-05-19 21:40 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:37:29 UTC


README

Build Status

PHP的RC4实现

用法

<?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;

测试

只需运行它们

./vendor/bin/phpunit tests