The mechanism to convert plaintext data into ciphertext data is known as encryption. Cryptography involves the use of mathematical algorithms and keys to transform readable text into an unreadable form, ensuring secure communication and data protection.