Encryption uses keys to scramble data, protecting files, network traffic, and VPN connections from unauthorized access. Data encryption scrambles files and communications using pseudorandom bits and a key. Link encryption further protects encrypted network traffic as it crosses networks or routers. File encryption also shields stored data from physical intrusion by requiring a key to decrypt files. VPNs employ encryption to securely tunnel traffic over untrusted networks like the internet.