aaaa - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of aaaa.php

  1. <?php 
  2.  
  3. $iv =  base64_decode("[email protected]$4D74krtgk");
  4. $key =  base64_decode("[email protected]$4D74krtgk");
  5. $method = 'aes-256-cbc';
  6. $msg = "aaaaa";
  7. $msgEncrypted = "bbbb";
  8.  
  9. $encrypted = @\openssl_encrypt($msg, $method, $key, 0, $iv);
  10. $decrypted = @\openssl_decrypt($msg, $method, $key, 0, $iv);
  11.  
  12. var_dump($encrypted, $decrypted);
  13.  
File Description
  • aaaa
  • PHP Code
  • 14 Jun-2021
  • 320 Bytes
You can Share it: