Data encryption converts information into unreadable code, accessible only with the right key, protecting sensitive data in transit and at rest.