working "encrypt and send message"