getEncryptedPreference

Retrieves an encrypted preference using the specified key.

Return

The encrypted preference value associated with the given key. Returns an empty string if the key is not found.

Parameters

key

The key used to retrieve the encrypted preference.