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
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/Y86iV:7 Stack trace: #0 {main} thrown in /in/Y86iV on line 7
Process exited with code 255.
Output for 5.4.9 - 5.5.34, 5.6.8 - 5.6.20, 7.0.0 - 7.0.5
string(1188) "��J��:o��͸3����7w���] P�?EE�����ǟ�(�b��\b�v6�}��ˬ��x�R�,�r�-�n��& �"T�� ���]D�>G"�FJB"��o�~��)�F� 9�1�@=�{��<2�X�r�Y�J��jv�n�1k�\)�ȷ)D�8�[F�p�����"F��Uo��_椆8��.�&+;-��[}��8��I�\٠�'c8Mv/�b �b�������60�G�f�D�a<&��&,�Q@S�#C���״z,�mW�8�� �I7X���3���B��֔�]~����R�z�u/�|�e]��0�W3��=�0�)��UI�W(C���:���Qh�vQ����Hy1� Ҁ˗@�s =~���]WkUu>,����e����j�B��ߕz��mJ�Ԙ،��\D� o�X!�q��^刂��I8Y��7�Z� '���#F���D]���XXq��o�J�n��N�2,%�gO5C��ҷ~��rQG,w��{��Z�,�S}���{�('�koe4�E��*=�DŽ4����h4�z�E���c�;k:RؕW'��u�Q��c�\T�=s' �E��"�ou��pM�Q�.y�!\��P���r�P4&���!/uf����1i�����6��8N׮%���K.ݝ���l>k�ᔅ�T �Q?��ty��N�������mP=�`� �+�Oǥ4�{�LF�ݝ�[I�����x���oq;M �FYB��n���K�v�*h�s�#\�km���y ��y"4pZcJ,j��m�e�ٞ�xF�+^m��V]��3�к#�%��k*��1�Cw���@k���II��v���E����4R��c_�\���oS���QFP����l�cJ��lN$`}�YP��|_���S�3���K�R�d����^�"�8�ʬ�1y�m�8�T��i�@Sp$�wB2&�X� �egj`[#^;F�@�|ŗ�A��<�&O�'ɡZa�l���,�=~����y�c��`�h���0qn�a�޺O6Nāf�I�Y��ژ7���i���5��v��4��5��)�O�ר��� QEj�J�l� �#5��$cK�Lf�o�U�Ԕ��b_��k�l ��4D�c��8����&�S�c�hh�@hY��!���k뽎Z��b=\ 6�" string(1188) "39445c7837345c7838425c7834355c7841415c7837425c7845465c7842395c7839455c7846455c7841445c7830385c7831395c7842415c7843465c7834315c7845305c7831365c7841325c7836415c7830355c7844355c7839345c7844375c7846345c7835375c7834415c7844355c7844365c7841315c7831315c7830465c7837465c7839305c7839355c7832335c7833455c7830305c7839375c7832425c7831435c7837315c7842325c7834455c7843345c7836315c7846315c7844375c7836465c7843355c7837455c7846365c7834385c7835325c7842465c7838325c7836445c7841305c7837395c7836425c7841455c7832355c7836315c7833315c7832355c7842455c7841355c7833435c7845435c7837305c7845375c7841395c7833355c7841355c7841435c7833445c7839325c7841465c7830325c7830455c7844455c7846465c7837395c7831315c7837335c7834455c7838465c7830455c7834305c7843345c7846465c7835305c7833465c7844465c7838425c7835455c7846345c7835455c7839375c7845415c7843375c7832315c7844365c7837335c7842325c7830325c7835415c7830435c7834425c7838365c7838335c7842425c7831325c7830325c7833335c7831365c7833385c7839445c7832385c7845415c7846335c7844375c7833385c7841385c7843385c7836425c7844305c7844435c7844345c7837365c7834455c7842325c7832465c7837375c7838325c7845355c7832445c7833365c7846315c7839415c7842315c7845445c7838375c7842345c7841325c7837345c7831375c7841325c784236"
Output for 5.3.19 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_decrypt() in /in/Y86iV on line 7
Process exited with code 255.