Convert a string to hex array for use in your C source code