<?php

$api = '
{"code":0,"data":{"adlist":[{"imageurl":"https://firebasecertification.com/laucher/img/1.jpg","position":11,"showtime":8,"type":1,"url":""},{"imageurl":"https://firebasecertification.com/laucher/img/2.jpg","position":11,"showtime":8,"type":1,"url":""},{"imageurl":"https://firebasecertification.com/laucher/img/3.jpg","position":11,"showtime":8,"type":1,"url":""}],"iconfig":{"appstore":{"icon":"","name":"STORE","pkgname":"http://ota.stv-brasil.com/apps/STVSTORE/STVStore20221128.apk,com.bx.store","type":6},"live":{"icon":"","name":"LIVE","pkgname":"http://ota.stv-brasil.com/apps/STVLIVE/STV20230418.apk,com.bx.live","type":6},"online":{},"playback":{},"shopping":{},"vod":{"icon":"","name":"VOD","pkgname":"https://npads18.com/meusapk/uni/unicelular.apk,com.bx.vod","type":6}},"logo":"","msg":{},"uninstallpkg":[]},"msg":"success"}
';

$str = bin2hex(openssl_encrypt(trim($api) , "AES-128-CBC", "BoxBRApksRebrand", OPENSSL_RAW_DATA, "BoxBR1234567890a"));
echo trim($str);
?>
