You could do worse than to confuse the meanings of "code" and "cipher"—even cryptographers sometime use the terms as though they had the same meaning. There is, however, a definite distinction between ...
In cryptology, the discipline concerned with the study of cryptographic algorithms, a cipher is an algorithm for encrypting and decrypting data. Transposition ciphers keep all the original bits of ...