Cipher

A cipher is an algorithm for encryption or decryption. A cipher converts plaintext into ciphertext.