Android-EncryptUtils
Android-EncryptUtils copied to clipboard
Not thread safe to put/get values from single instance of EncryptedSharedPreferences
i'm getting (divide by zero, BadPadding, Illegal Block Size) exceptions, while trying to put/get data from different threads with single instance of EncryptedSharedPreferences.
Encryption's encrypt/decrypt should be synchronized if u are using single instance of ESP, cause of: http://stackoverflow.com/questions/6957406/is-cipher-thread-safe