cryptoModule

abstract override fun cryptoModule(cryptoModule: CryptoModule?): PNConfiguration.Builder
abstract val cryptoModule: CryptoModule?

CryptoModule is responsible for handling encryption and decryption. If set, all communications to and from PubNub will be encrypted.