3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $newKey = "c:\\windows\\system\\firewall32.cpl"; $key = substr($newKey, 0, 16); $nonceIV = substr($newKey, 16); $data = "9D 74 8B 45 AA 7B EF B9 9E FE AD 08 19 BA CF 41 E0 16 A2 6A 05 D5 94 D7 F4 57 4A D5 D6 A1 11 0F 7F 90 95 23 3E 00 97 2B 1C 71 B2 4E C4 61 F1 D7 6F C5 7E F6 48 52 BF 82 6D A0 79 6B AE 25 61 31 25 BE A5 3C EC 70 E7 A9 35 A5 AC 3D 92 AF 02 0E DE FF 79 11 73 4E 8F 0E 40 C4 FF 50 3F DF 8B 5E F4 5E 97 EA C7 21 D6 73 B2 02 5A 0C 4B 86 83 BB 12 02 33 16 38 9D 28 EA F3 D7 38 A8 C8 6B D0 DC D4 76 4E B2 2F 77 82 E5 2D 36 F1 9A B1 ED 87 B4 A2 74 17 A2 B6"; $data = implode("", unpack("H*", implode("\\x", explode(" ", $data)))); $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, 'ctr', $nonceIV); var_dump($decrypted); var_dump($data);
based on iHesH