encrypt Input Stream
Perform Cryptographic encryption of an input stream using provided cipher key.
Return
InputStream containing the encryption of inputStream using PNConfiguration.getCipherKey.
Parameters
input Stream
InputStream to be encrypted.
cipher Key
Cipher key to be used for encryption.
Throws
Pub Nub Exception
Throws exception in case of failed encryption.
Perform Cryptographic encryption of an input stream using provided cipher key.
Return
InputStream containing the encryption of inputStream using cipherKey.
Parameters
input Stream
InputStream to be encrypted.
cipher Key
Cipher key to be used for encryption.
Throws
Pub Nub Exception
Throws exception in case of failed encryption.