The transmited data is scrambled before final modulation and transmition. Scramblers are simple circuits realised as a chain of D flip-flop cells and combined with usually 2 XOR gates.
Scrambler provides that the data is not very uniform for example "11110000". Scrambler would cause extra transitions in data so that clock and data recovery circuit can extract the clock and retime the data on the regenerated clock on receiving side. After that the received and reclocked data has to be descrambled to with descrambler to get original data "111100000" or what ever was send over transmition path.
Google for scramblers, descrambler for images an further explanations, when in doubt ask.