Final answer:
Encryption protects the security of electronic communication when information is transmitted and stored.
Step-by-step explanation:
Encryption protects the security of electronic communication both when information is transmitted and when it is stored. It involves converting plaintext into ciphertext using an algorithm and a secret key. Only the intended recipient with the correct key can decrypt the ciphertext back into plaintext. This ensures that the information remains confidential and secure.