Code and Cryptogram
The terms code and cryptogram are synonyms (words with similar meaning).
The noun Code can be replaced with noun Cryptogram in some context.
Code and Cryptogram are mostly used as synonyms in topics related to: secret, cipher and document.