Hello,
Wazuh secures log data primarily by encrypting communication using Blowfish or AES encryption for communication between the agent and the manager.
AES encryption is the default encryption; Blowfish is maintained for backward compatibility, as prior to version 3.5 this was the only option.
This can be selected on the agent's ossec.conf file, for more information, you can see this page of the documentation: