You can encrypt SQL Anywhere client/server communication using transport-layer security.
Starting the database server with transport-layer security
Configuring client applications to use transport-layer security
Using transport-layer security for SQL Anywhere web services