iamMehedi / Secured-Preference-Store

A cryptography library and a SharedPreferences wrapper for Android that encrypts the content with 256 bit AES encryption. The Encryption key is securely stored in device's KeyStore.
563 stars 97 forks source link

minSdk #4

Closed ymengx closed 7 years ago

ymengx commented 7 years ago

这个版本必须18以上才能用吗?

iamMehedi commented 7 years ago

@mysprout There is no official KeyStore API available before API level 18, that's why this library requires the minSdk to be 18 or later. But the KeyStore itself might be present on older versions and can be accessed with reflection and private APIs but that shouldn't be tried in production. You can read more about it here if you want.