decrypt Data
fun decryptData(sharedPref: SharedPreferences, encryptPassword: String?, encryptedData: ByteArray): ByteArray
Content copied to clipboard
This method will decrypt the given data
Return
decrypted data in a byte array
Parameters
shared Pref
: the sharedPref, to fetch the key
encrypted Data
: the data that will be decrypted