Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mXaMA function name: (null) number of ops: 49 compiled vars: !0 = $key, !1 = $ekey, !2 = $ivsize, !3 = $iv, !4 = $raw line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > DECLARE_CONST 'CIPHER', <const ast> 4 1 DECLARE_CONST 'KEY_BYTE_SIZE', 16 5 2 DECLARE_CONST 'CIPHER_MODE', 'cbc' 6 3 DECLARE_CONST 'HASH_FUNCTION', 'sha256' 7 4 DECLARE_CONST 'MAC_BYTE_SIZE', 32 8 5 DECLARE_CONST 'ENCRYPTION_INFO', 'PIPS%7CKeyForEncryption' 9 6 DECLARE_CONST 'AUTHENTICATION_INFO', 'PIPS%7CKeyForAuthentication' 11 7 INIT_FCALL 'base64_decode' 8 SEND_VAL 'wdmd3XIhnOAelom4Y8yPbw%3D%3D' 9 DO_ICALL $5 10 ASSIGN !0, $5 12 11 INIT_FCALL_BY_NAME 'HKDF' 12 FETCH_CONSTANT ~7 'HASH_FUNCTION' 13 SEND_VAL_EX ~7 14 SEND_VAR_EX !0 15 FETCH_CONSTANT ~8 'KEY_BYTE_SIZE' 16 SEND_VAL_EX ~8 17 FETCH_CONSTANT ~9 'ENCRYPTION_INFO' 18 SEND_VAL_EX ~9 19 DO_FCALL 0 $10 20 ASSIGN !1, $10 14 21 INIT_FCALL_BY_NAME 'urlsafe_b64encode' 22 SEND_VAR_EX !1 23 DO_FCALL 0 $12 24 CONCAT ~13 $12, '%0A' 25 ECHO ~13 20 26 ASSIGN !2, 16 21 27 INIT_FCALL_BY_NAME 'SecureRandom' 28 SEND_VAR_EX !2 29 DO_FCALL 0 $15 30 ASSIGN !3, $15 22 31 INIT_FCALL_BY_NAME 'urlsafe_b64encode' 32 SEND_VAR_EX !3 33 DO_FCALL 0 $17 34 CONCAT ~18 $17, '%0A' 35 ECHO ~18 23 36 INIT_FCALL_BY_NAME 'PlainEncrypt' 37 SEND_VAL_EX 'It+is+a+kitten' 38 SEND_VAR_EX !1 39 SEND_VAR_EX !3 40 DO_FCALL 0 $19 41 ASSIGN !4, $19 24 42 CONCAT ~21 !4, '%0A' 43 ECHO ~21 25 44 INIT_FCALL_BY_NAME 'urlsafe_b64encode' 45 SEND_VAR_EX !4 46 DO_FCALL 0 $22 47 ECHO $22 135 48 > RETURN 1 Function urlsafe_b64encode: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mXaMA function name: urlsafe_b64encode number of ops: 13 compiled vars: !0 = $string, !1 = $data line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 27 0 E > RECV !0 28 1 INIT_FCALL 'base64_encode' 2 SEND_VAR !0 3 DO_ICALL $2 4 ASSIGN !1, $2 29 5 INIT_FCALL 'str_replace' 6 SEND_VAL <array> 7 SEND_VAL <array> 8 SEND_VAR !1 9 DO_ICALL $4 10 ASSIGN !1, $4 30 11 > RETURN !1 31 12* > RETURN null End of function urlsafe_b64encode Function urlsafe_b64decode: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mXaMA function name: urlsafe_b64decode number of ops: 12 compiled vars: !0 = $string, !1 = $data line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 33 0 E > RECV !0 34 1 INIT_FCALL 'str_replace' 2 SEND_VAL <array> 3 SEND_VAL <array> 4 SEND_VAR !0 5 DO_ICALL $2 6 ASSIGN !1, $2 35 7 INIT_FCALL 'base64_decode' 8 SEND_VAR !1 9 DO_ICALL $4 10 > RETURN $4 36 11* > RETURN null End of function urlsafe_b64decode Function hkdf: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 18 Branch analysis from position: 10 2 jumps found. (Code = 47) Position 1 = 20, Position 2 = 23 Branch analysis from position: 20 2 jumps found. (Code = 47) Position 1 = 24, Position 2 = 26 Branch analysis from position: 24 2 jumps found. (Code = 47) Position 1 = 27, Position 2 = 30 Branch analysis from position: 27 2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 34 Branch analysis from position: 31 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 34 2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 41 Branch analysis from position: 36 2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 54 Branch analysis from position: 51 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 54 1 jumps found. (Code = 42) Position 1 = 72 Branch analysis from position: 72 2 jumps found. (Code = 44) Position 1 = 75, Position 2 = 58 Branch analysis from position: 75 2 jumps found. (Code = 43) Position 1 = 83, Position 2 = 86 Branch analysis from position: 83 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 86 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 58 2 jumps found. (Code = 44) Position 1 = 75, Position 2 = 58 Branch analysis from position: 75 Branch analysis from position: 58 Branch analysis from position: 41 Branch analysis from position: 30 Branch analysis from position: 26 Branch analysis from position: 23 Branch analysis from position: 18 filename: /in/mXaMA function name: HKDF number of ops: 88 compiled vars: !0 = $hash, !1 = $ikm, !2 = $length, !3 = $info, !4 = $salt, !5 = $digest_length, !6 = $prk, !7 = $t, !8 = $last_block, !9 = $block_index, !10 = $orm line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 38 0 E > RECV !0 1 RECV !1 2 RECV !2 3 RECV_INIT !3 '' 4 RECV_INIT !4 null 41 5 FETCH_CONSTANT ~11 'MAC_BYTE_SIZE' 6 ASSIGN !5, ~11 42 7 FETCH_CONSTANT ~13 'HASH_FUNCTION' 8 IS_NOT_EQUAL !0, ~13 9 > JMPZ ~14, ->18 43 10 > INIT_FCALL 'hash_hmac' 11 SEND_VAR !0 12 SEND_VAL '' 13 SEND_VAL '' 14 SEND_VAL <true> 15 DO_ICALL $15 16 STRLEN ~16 $15 17 ASSIGN !5, ~16 47 18 > ISSET_ISEMPTY_CV ~18 !2 19 > JMPNZ_EX ~18 ~18, ->23 20 > TYPE_CHECK 16 ~19 !2 21 BOOL_NOT ~20 ~19 22 BOOL ~18 ~20 23 > > JMPNZ_EX ~18 ~18, ->26 48 24 > IS_SMALLER ~21 !2, 0 25 BOOL ~18 ~21 26 > > JMPNZ_EX ~18 ~18, ->30 27 > MUL ~22 !5, 255 28 IS_SMALLER ~23 ~22, !2 29 BOOL ~18 ~23 30 > > JMPZ ~18, ->34 49 31 > INIT_FCALL_BY_NAME 'CannotPerformOperationException' 32 DO_FCALL 0 $24 33 > RETURN $24 53 34 > TYPE_CHECK 2 !4 35 > JMPZ ~25, ->41 54 36 > INIT_FCALL 'str_repeat' 37 SEND_VAL '%00' 38 SEND_VAR !5 39 DO_ICALL $26 40 ASSIGN !4, $26 60 41 > INIT_FCALL 'hash_hmac' 42 SEND_VAR !0 43 SEND_VAR !1 44 SEND_VAR !4 45 SEND_VAL <true> 46 DO_ICALL $28 47 ASSIGN !6, $28 65 48 STRLEN ~30 !6 49 IS_SMALLER ~30, !5 50 > JMPZ ~31, ->54 66 51 > NEW $32 'CannotPerformOperationException' 52 DO_FCALL 0 53 > THROW 0 $32 70 54 > ASSIGN !7, '' 71 55 ASSIGN !8, '' 72 56 ASSIGN !9, 1 57 > JMP ->72 74 58 > INIT_FCALL 'hash_hmac' 75 59 SEND_VAR !0 76 60 CONCAT ~37 !8, !3 61 INIT_FCALL 'chr' 62 SEND_VAR !9 63 DO_ICALL $38 64 CONCAT ~39 ~37, $38 65 SEND_VAL ~39 77 66 SEND_VAR !6 78 67 SEND_VAL <true> 68 DO_ICALL $40 74 69 ASSIGN !8, $40 81 70 ASSIGN_OP 8 !7, !8 72 71 PRE_INC !9 72 > STRLEN ~44 !7 73 IS_SMALLER ~44, !2 74 > JMPNZ ~45, ->58 85 75 > INIT_FCALL 'substr' 76 SEND_VAR !7 77 SEND_VAL 0 78 SEND_VAR !2 79 DO_ICALL $46 80 ASSIGN !10, $46 86 81 TYPE_CHECK 4 !10 82 > JMPZ ~48, ->86 87 83 > NEW $49 'CannotPerformOperationException' 84 DO_FCALL 0 85 > THROW 0 $49 89 86 > > RETURN !10 90 87* > RETURN null End of function hkdf Function securerandom: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mXaMA function name: SecureRandom number of ops: 19 compiled vars: !0 = $octets, !1 = $random line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 92 0 E > RECV !0 94 1 INIT_FCALL 'urlsafe_b64decode' 2 SEND_VAL 'FSDTs5UoRN07CAeB84KVIw' 3 DO_FCALL 0 $2 4 > RETURN $2 96 5* INIT_FCALL_BY_NAME 'mcrypt_create_iv' 6* SEND_VAR_EX !0 7* FETCH_CONSTANT ~3 'MCRYPT_DEV_URANDOM' 8* SEND_VAL_EX ~3 9* DO_FCALL 0 $4 10* ASSIGN !1, $4 97 11* TYPE_CHECK 4 !1 12* JMPZ ~6, ->17 98 13* NEW $7 'CannotPerformOperationException' 14* DO_FCALL 0 15* THROW 0 $7 16* JMP ->18 100 17* RETURN !1 102 18* > RETURN null End of function securerandom Function plainencrypt: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17 Branch analysis from position: 14 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 17 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/mXaMA function name: PlainEncrypt number of ops: 70 compiled vars: !0 = $plaintext, !1 = $key, !2 = $iv, !3 = $crypt, !4 = $block, !5 = $pad, !6 = $ret, !7 = $ciphertext line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 104 0 E > RECV !0 1 RECV !1 2 RECV !2 106 3 INIT_FCALL_BY_NAME 'mcrypt_module_open' 4 FETCH_CONSTANT ~8 'CIPHER' 5 SEND_VAL_EX ~8 6 SEND_VAL_EX '' 7 FETCH_CONSTANT ~9 'CIPHER_MODE' 8 SEND_VAL_EX ~9 9 SEND_VAL_EX '' 10 DO_FCALL 0 $10 11 ASSIGN !3, $10 107 12 TYPE_CHECK 4 !3 13 > JMPZ ~12, ->17 108 14 > NEW $13 'CannotPerformOperationException' 15 DO_FCALL 0 16 > THROW 0 $13 112 17 > INIT_FCALL_BY_NAME 'mcrypt_enc_get_block_size' 18 SEND_VAR_EX !3 19 DO_FCALL 0 $15 20 ASSIGN !4, $15 113 21 STRLEN ~17 !0 22 MOD ~18 ~17, !4 23 SUB ~19 !4, ~18 24 ASSIGN !5, ~19 114 25 INIT_FCALL 'str_repeat' 26 INIT_FCALL 'chr' 27 SEND_VAR !5 28 DO_ICALL $21 29 SEND_VAR $21 30 SEND_VAR !5 31 DO_ICALL $22 32 ASSIGN_OP 8 !0, $22 116 33 > RETURN !5 117 34* INIT_FCALL_BY_NAME 'mcrypt_generic_init' 35* SEND_VAR_EX !3 36* SEND_VAR_EX !1 37* SEND_VAR_EX !2 38* DO_FCALL 0 $24 39* ASSIGN !6, $24 118 40* IS_NOT_IDENTICAL !6, 0 41* JMPZ ~26, ->45 119 42* NEW $27 'CannotPerformOperationException' 43* DO_FCALL 0 44* THROW 0 $27 122 45* INIT_FCALL_BY_NAME 'mcrypt_generic' 46* SEND_VAR_EX !3 47* SEND_VAR_EX !0 48* DO_FCALL 0 $29 49* ASSIGN !7, $29 123 50* INIT_FCALL_BY_NAME 'mcrypt_generic_deinit' 51* SEND_VAR_EX !3 52* DO_FCALL 0 $31 53* ASSIGN !6, $31 124 54* TYPE_CHECK 1014 !6 55* JMPZ ~33, ->59 125 56* NEW $34 'CannotPerformOperationException' 57* DO_FCALL 0 58* THROW 0 $34 127 59* INIT_FCALL_BY_NAME 'mcrypt_module_close' 60* SEND_VAR_EX !3 61* DO_FCALL 0 $36 62* ASSIGN !6, $36 128 63* TYPE_CHECK 1014 !6 64* JMPZ ~38, ->68 129 65* NEW $39 'CannotPerformOperationException' 66* DO_FCALL 0 67* THROW 0 $39 132 68* RETURN !7 133 69* > RETURN null End of function plainencrypt
Generated using Vulcan Logic Dumper, using php 8.0.0