cipher (n.)youdaoicibaDictYouDict
late 14c., "arithmetical symbol for zero," from Old French cifre "nought, zero," Medieval Latin cifra, with Spanish and Italian cifra, ultimately from Arabic sifr "zero," literally "empty, nothing," from safara "to be empty;" loan-translation of Sanskrit sunya-s "empty." The word came to Europe with Arabic numerals. Originally in English "zero," then "any numeral" (early 15c.), then (first in French and Italian) "secret way of writing; coded message" (a sense first attested in English 1520s), because early codes often substituted numbers for letters. Klein says Modern French chiffre is from Italian cifra.
code (v.)youdaoicibaDictYouDict
1815, from code (n.). Specifically in the computer sense from 1947. Related: Coded; coding.
decode (v.)youdaoicibaDictYouDict
1896, from de- + code. Related: Decoded; decoding.
encode (v.)youdaoicibaDictYouDict
1917, from en- (1) "make, put in" + code (n.). Computing sense is from 1955, usually shortened colloquially or for clarity to code. Related: Encoded; encoding.