Companion
object Companion
Functions
Link copied to clipboard
Returns the recommended CryptoModule for encryption and decryption.
Link copied to clipboard
Returns a CryptoModule that encrypts in PubNub's older format.
Link copied to clipboard
fun createNewCryptoModule(defaultCryptor: Cryptor, cryptorsForDecryptionOnly: List<Cryptor> = listOf()): CryptoModule
Creates a CryptoModule from custom Cryptor implementations: defaultCryptor is used for encryption, and any cryptorsForDecryptionOnly are additionally available for decryption.