getSecretKey

This method will convert a random password, saved in sharedPreferences to a SecretKey

Return

SecretKey

Parameters

sharedPref

: the sharedPref, to fetch / save the key

iv

: the encryption nonce