You are here

function rc4Decrypt in Simplenews Statistics 6.2

Decrypt given cipher text using the key with RC4 algorithm. All parameters and return value are in binary format.

Parameters

string key - secret key for decryption:

string ct - cipher text to be decrypted:

Return value

string

File

./rc4.inc, line 60
RC4 symmetric cipher encryption/decryption Copyright (c) 2006 by Ali Farhadi. released under the terms of the Gnu Public License. see the GPL for details.

Code

function rc4Decrypt($key, $ct) {
  return rc4Encrypt($key, $ct);
}