Question from the General knowledge for developers test

Which method converts data into an unreadable form unless a key is used to make it visible again, ensuring the confidentiality of information?