Encryption plays a crucial role in cyber security by converting data into a secure format that can only be read or decrypted by someone with the appropriate key. This helps protect sensitive information from unauthorized access and ensures data privacy and integrity during transmission and storage.