When the message is encoded, only those who have been given the key or code book will know how to decode the secret message.