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