rc4crypt::encrypt
The symmetric encryption function
Signature
public function encrypt(string
$pwd,
string
$data,
[integer
$ispwdHex = 0] )
Parameters
$pwd
— string- Key to encrypt with (can be binary of hex)
$data
— string- Content to be encrypted
$ispwdHex
— integer- Key passed is in hexadecimal or not
Returns
- string