Sequence of preparing packets - Networking
Hello, As we all know, data that is being sent over the internet should be encrypted. The data is obviously encoded into bits, that's how data transfers over the internet. And another thing, the data is not being sent in ONE HUGE PACKET, it's going through a segmentation process that divides the data to small packets. Now to my question, What do we do first? Encrypt, encode, segmentation? Or an other order? Thanks (also fix me if I'm wrong in my intro).