Hi. Please send me the C code to see what algorithm is used for encryption. If it is an standard algorithm, we probably won't need to "translate" the C code, just use a PHP implementation. Otherwise i can convert the C code in PHP as well, contact me via chat so we can see this more in depth.