Comments (3)
Sorry I should've explained more.
Looking at the src you use PBEWithMD5AndDES
for encryption. Afaik this does not have any inbuilt integrity checking when decrypting, which is what prompted the suggestion of java-aes-crypto which has this built in.
Looking again at the code, PBEWithMD5AndDES
is probably a bad choice anyway, as its made up of insecure primitives and could be broken relatively easily. See this SO answer to instill some fear!
Im new to this world but a couple of warning bells for me when scanning the src.
from secure-preferences.
Hey @doridori thanks for the comment but I am not sure what is expected from us here. Kindly elaborate.
cc @vashisthg
from secure-preferences.
I decided to take a look at this and implemented the ObscuredSharedPreferences using the AES algorithm, looking for some feedback on it.
from secure-preferences.
Related Issues (20)
- Won't work when user will change security code/schema... HOT 2
- Add to readme the issue discussed in #10
- How I can use this library to decrypt the saved data? HOT 3
- IllegalStateException HOT 14
- Deprecated code after Android M HOT 2
- NoSuchAlgorithmException HOT 1
- SharedPreferencesListener
- Proguard Issue
- KeystoreConnectException HOT 1
- Exception in Application Class while Starting the Application
- W/KeyStore: KeyStore exception android.os.ServiceSpecificException: HOT 1
- Issue with KeyStore on android 9
- AES only supported by Android API 23+
- What is the used algorithm for encryption?
- What is the used algorithm for encryption?
- Issue with KeyStore on Android 5.1
- minSdkVersion 16 possible? HOT 1
- implement `getAll()` in ObscuredSharedPreferences. HOT 1
- Is it possible to make minSdk=14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secure-preferences.