79754342

Date: 2025-09-03 08:48:42
Score: 3.5
Natty:
Report link

THIS TO ENCRYPT THE DATA

$secret_key = "This is my SeCrEt key";

$etype = MCRYPT_RIJNDAEL_256;

$iv = mcrypt_create_iv(mcrypt_get_iv_size($etype, MCRYPT_MODE_ECB), MCRYPT_RAND);

$output = mcrypt_encrypt($etype, $secret_key, $string_to_encrypt, MCRYPT_MODE_CBC, $iv);

$output = base64_encode ($output);

$output = urlencode($output);

// THIS TO DECRYPT THE DATA - THIS ISN'T WORKING?

$secret_key = "This is my SeCrEt key";

$etype = MCRYPT_RIJNDAEL_256;

$iv = mcrypt_create_iv(mcrypt_get_iv_size($etype, MCRYPT_MODE_ECB), MCRYPT_RAND);

$string_to_decrypt = urldecode($string_to_decrypt);

$string_to_decrypt = base64_decode($string_to_decrypt);

$output = mcrypt_decrypt($etype, $

Reasons:
  • RegEx Blacklisted phrase (2): WORKING?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: islam khan