Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function sekolah( $string, $action = 'e' ) { $secret_key = 'VBfS32dgt7UHjdngssss';$s..
Decoded Output download
<?php function sekolah( $string, $action = 'e' ) { $secret_key = 'VBfS32dgt7UHjdngssss';$secret_iv = 'Fgsyhnsssgtgsbjeeusgb';$output = false;$encrypt_method = "AES-256-CBC";$key = hash( 'sha256', $secret_key ); $iv = substr( hash( 'sha256', $secret_iv ), 0, 16 );if( $action == 'e' ) {$output = base64_encode( openssl_encrypt( $string, $encrypt_method, $key, 0, $iv ) );} else if( $action == 'd' ){$output = openssl_decrypt( base64_decode( $string ), $encrypt_method, $key, 0, $iv );}return $output;}?>
Did this file decode correctly?
Original Code
<?php function sekolah( $string, $action = 'e' ) { $secret_key = 'VBfS32dgt7UHjdngssss';$secret_iv = 'Fgsyhnsssgtgsbjeeusgb';$output = false;$encrypt_method = "\x41\x45\x53-256-C\102\103";$key = hash( 'sha256', $secret_key ); $iv = substr( hash( 'sha256', $secret_iv ), 0, 16 );if( $action == 'e' ) {$output = base64_encode( openssl_encrypt( $string, $encrypt_method, $key, 0, $iv ) );} else if( $action == 'd' ){$output = openssl_decrypt( base64_decode( $string ), $encrypt_method, $key, 0, $iv );}return $output;}?>
Function Calls
None |
Stats
MD5 | 24cf59f99c9c2ad2ff6a9f91feb610b8 |
Eval Count | 0 |
Decode Time | 48 ms |