Method | Description | |
---|---|---|
crypt ( string $str, string $key ) : string | Perform (en/de)cryption |
Method | Description | |
---|---|---|
initializeState ( string $key ) : array | Create the initial byte matrix that will be used for swaps. This code is identical between RC4 and Spritz. |
protected static initializeState ( string $key ) : array | ||
$key | string | |
return | array |