Code - etym. c.1300, "systematic compilation of laws," from O.Fr. code "system of laws, law-book" (13c.), from L. codex, earlier caudex "book, book of laws," lit. "tree trunk," hence, book made up of wooden tablets covered with wax for writing. Meaning "cipher" (the sense in secret code) is from 1808.