示例#1
0
 /**
  * Creates an instance of the PEAR::Crypt_Rc4 class.
  *
  * @param  string token to use to encrypt data
  * @return Crypt_RC4 returns an instance of the Crypt_RC4 class
  *
  * @access public
  */
 function &cryptRC4Factory($secret)
 {
     $rc4 = false;
     if (LiveUser::loadClass('Crypt_Rc4')) {
         $rc4 =& new Crypt_Rc4($secret);
     }
     return $rc4;
 }