gusmezomo/compression-and-encryption — reverse-engineered prompt
Reverse engineered prompt
Build me a small educational Python terminal app that lets me experiment with lossless compression and basic error control during message transmission. I want one mode where I can run a local menu, type in data, choose Huffman, Golomb, Elias Gamma, or Fibonacci coding, and then encode or decode the result so I can compare how each method behaves.
I also want a simple TCP demo with a client and a server. The client should ask me what compression method and protection method to use, send the compressed message, let me simulate bit errors, and have the server process it with CRC, Hamming, or repetition coding so I can see detection or correction in action. Make the terminal flow clear and friendly, with readable output and simple prompts, since this is mainly for study and demos. Keep it easy to run from the command line, and look up current docs online if you need to.
Want more depth? Deep Reverse