Skip to content

wdalmut/rc4-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RC4 support

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