PHP Classes

See in "private static function KSA($key)": .

Recommend this page to a friend!

      RC4 Cipher  >  All threads  >  See in "private static function...  >  (Un) Subscribe thread alerts  
Subject:See in "private static function...
Summary:Package rating comment
Messages:2
Author:Valdas
Date:2009-12-16 13:10:20
 

Valdas rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good

  1. See in "private static function...   Reply   Report abuse  
Picture of Valdas Valdas - 2009-12-16 13:10:21
See in "private static function KSA($key)":
...
for ($i = 0; $i < 255; $i++) // !!! should be $i =< 255 !!!

By the way, "private static function swap(&$v1, &$v2)" worked not correctly for me (WAMP Server; Apache/2.2.11 (Win32) PHP/5.3.0).

After all, the class is useful, thanks!

  2. Re: See in "private static function...   Reply   Report abuse  
Picture of Rafael M. Salvioni Rafael M. Salvioni - 2014-10-15 17:23:39 - In reply to message 1 from Valdas
Thanks Valdas!

I solve the bug indicated by you.