The satellite cryptographically modifies its plain text P-code signal into a cipher text code called Y-code to protect against spoofing.
process of encrypting the L2 signal to prevent unauthorized transmissions of false GPS signals.
The GPS unit can confuse real satellite signals with imitated transmitted signals. Anti-spoofing encrypts the P-code to protect the P-signals so that only authorized users can recognize it.