Either use real encryption and decryption between your source and destination (implementation will vary depending on how you are sending the data) or just obfuscate a bit by adding a known value to the hex that is ‘only’ known by the source and destination (probably best to modulo this by 127) – essentially this is a shift cypher. This isn’t very secure but makes it a little harder to read by packet sniffing. If you want a bit more obfuscation you could have a map of the 128 possibilities to 128 different. It all depend how ‘secure’ this connection need to be.
solved Convert Ascii “1” to hex thats non printable and cannot be seen on network traffic [closed]