A cryptogram is a message written according to a secret code. (The Greek word kryptosmeans “hidden.”) Matrix multiplication can be used to encode and decode messages. To begin, you need to assign a number to each letter in the alphabet (with 0 assigned to a blank space), as follows.