in reply to convert hexadecimal value to encrypted string
It's not really solvable with pack or unpack if the string is truly encrypted.