get Secret Key
This method will convert a random password, saved in sharedPreferences to a SecretKey
Return
SecretKey
Parameters
shared Pref
: the sharedPref, to fetch / save the key
iv
: the encryption nonce
This method will convert a random password, saved in sharedPreferences to a SecretKey
SecretKey
: the sharedPref, to fetch / save the key
: the encryption nonce