Point-to-point Encryption (Transport Layer Security)
All of our SDKs and services provide network-layer point-to-point encryption via SSL/TLS support. Transport Layer Security (TLS) is a protocol that ensures privacy between communicating applications and their users on the Internet. When a server and client communicate, TLS ensures that no third party may eavesdrop or tamper with any message.
Simply enable the TLS parameter upon initialization of the PubNub instance. Keep in mind that by the nature of TLS, messages will be decrypted once they arrive at PubNub; PubNub will re-encrypt the messages with TLS when sending outbound to subscribers. For complete end-to-end encryption, we also recommend enabling message-level AES encryption.
For further learning, please see: