decrypt

abstract fun decrypt(inputString: String): String

Perform Cryptographic decryption of an input string using cipher key provided by PNConfiguration.cipherKey.

Return

String containing the decryption of inputString using cipherKey.

Parameters

inputString

String to be decrypted.

Throws

throws exception in case of failed decryption.


abstract fun decrypt(inputString: String, cipherKey: String?): String

Perform Cryptographic decryption of an input string using a cipher key.

Return

String containing the decryption of inputString using cipherKey.

Parameters

inputString

String to be decrypted.

cipherKey

cipher key to be used for decryption. Default is PNConfiguration.cipherKey

Throws

throws exception in case of failed decryption.