The generic term encompassing encipher and encode. Both meaning to convert plaintext to ciphertext by means of a code.