본문 바로가기
Programming/Android

Android SharedPreferences 암호화 랩퍼

Encryption Wrapper for Android SharedPreferences

프리퍼런스 관련 래핑 클래스를 찾다보니 암호화 기능까지 잘 정리된 클래스인듯...

 

 

http://www.codeproject.com/Articles/549119/Encryption-Wrapper-for-Android-SharedPreferences

 

Using the code

As you may already know, there are 3 methods to initialize a SharedPreferences object:

The class in this article accepts a Context object and uses the 3rd approach internally, so instead of the above you should do the following (where this is your app's Activity, Service, etc.):

..