decryptData

fun decryptData(sharedPref: SharedPreferences, encryptPassword: String?, encryptedData: ByteArray): ByteArray

This method will decrypt the given data

Return

decrypted data in a byte array

Parameters

sharedPref

: the sharedPref, to fetch the key

encryptedData

: the data that will be decrypted