In secret conversations, key refers to a code or password that is used to encrypt and decrypt messages. This code is known only to the sender and recipient of the message, and it is used to ensure that the message is not intercepted by anyone else.