The key is used to encrypt and decrypt the data. The encryption is symmetric, so the same key used for encryption must be used for decryption.
A key should be exchanged between the sender and the recipient of a CryptoMessage. You can generate a key using the "Create a Key" section of the website.