// Set the encrypted message in the template instance
$this->getTemplateInstance()->assignVariable('encrypted_message', $encryptedMessage);
// Set the encrypted message in the template instance
$this->getTemplateInstance()->assignVariable('encrypted_message', $encryptedMessage);