encrypt
Perform Cryptographic encryption of an input string and a cipher key.
Return
String containing the encryption of inputString using cipherKey.
Parameters
input String
String to be encrypted.
cipher Key
Cipher key to be used for encryption. Default is PNConfiguration.cipherKey
Throws
Pub Nub Exception
Throws exception in case of failed encryption.
Perform Cryptographic encryption of an input string and a cipher key.
Return
String containing the encryption of inputString using PNConfiguration.getCipherKey.
Parameters
input String
String to be encrypted.
Throws
Pub Nub Exception
Throws exception in case of failed encryption.