Guest User

Untitled

a guest
Jan 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public static function decrypt($data, $key) {
  2. $encryption_key = base64_decode($key);
  3. list($encrypted_data, $iv) = explode('::', base64_decode($data), 2);// ESTA ES LA LINEA 11
  4. return openssl_decrypt($encrypted_data, 'RC4', $encryption_key, 0, $iv);
  5. }
Add Comment
Please, Sign In to add comment