A digital envelope is a container used to encrypt messages using a symmetric encryption algorithm, such as AES. The contents of the message are encrypted with a random symmetric key, which is then encrypted using the recipient's public key. The encrypted symmetric key and encrypted message are sent together in the digital envelope, which can only be decrypted by the recipient using their private key.