prashantsolanki3 / Secure Pref Manager
Licence: apache-2.0
Secure Preference Manager for android. It uses various Encryption to protect your application's Shared Preferences.
Stars: ✭ 75
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Secure Pref Manager
Ksprefs
🚀⚡ Kotlin SharedPreferences wrapper & cryptographic preferences android library.
Stars: ✭ 176 (+134.67%)
Mutual labels: encryption, sharedpreferences
Sharedchamber
Android Secure SharedPreferences Using Facebook Conceal Encryption
Stars: ✭ 96 (+28%)
Mutual labels: encryption, sharedpreferences
Hawk
✔️ Secure, simple key-value storage for Android
Stars: ✭ 3,827 (+5002.67%)
Mutual labels: encryption, sharedpreferences
React Native Encrypted Storage
React Native wrapper around SharedPreferences and Keychain to provide a secure alternative to Async Storage
Stars: ✭ 110 (+46.67%)
Mutual labels: encryption, sharedpreferences
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.
Stars: ✭ 562 (+649.33%)
Mutual labels: encryption, sharedpreferences
Fhe Toolkit Linux
IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.
Stars: ✭ 1,123 (+1397.33%)
Mutual labels: encryption
Sigfw
Open Source Signaling Firewall for SS7, Diameter filtering, antispoof and antisniff
Stars: ✭ 71 (-5.33%)
Mutual labels: encryption
Hermitdb
A private decentralized database replicated over Git (or any other distributed log)
Stars: ✭ 61 (-18.67%)
Mutual labels: encryption
Easytcp
Simple framework for TCP clients and servers. Focused on performance and usability.
Stars: ✭ 60 (-20%)
Mutual labels: encryption
Ffsend Api
📬 A fully featured Firefox Send API client written in Rust.
Stars: ✭ 75 (+0%)
Mutual labels: encryption
Iotalk
iotalk is a privacy-minded messaging system built on the IOTA Tangle. Messages are encrypted so only the intended recipient can read them.
Stars: ✭ 67 (-10.67%)
Mutual labels: encryption
Mongoaudit
🔥 A powerful MongoDB auditing and pentesting tool 🔥
Stars: ✭ 1,174 (+1465.33%)
Mutual labels: encryption
Simple Polymorphic Engine Spe32
Simple Polymorphic Engine (SPE32) is a simple polymorphic engine for encrypting code and data. It is an amateur project that can be used to demonstrate what polymorphic engines are.
Stars: ✭ 59 (-21.33%)
Mutual labels: encryption
Bash Snippets
A collection of small bash scripts for heavy terminal users
Stars: ✭ 8,558 (+11310.67%)
Mutual labels: encryption
Zbox
Zero-details, privacy-focused in-app file system.
Stars: ✭ 1,185 (+1480%)
Mutual labels: encryption
Secure-Pref-Manager
##Secure Preference Manager is a simple Library to help you protect your Shared Preferences. Secure Preference Manager for android. It uses various encryption techniques to protect your application's Shared Preferences.
##Setup Add jitpack to your project’s repositories.
repositories {
// ...
maven { url "https://jitpack.io" }
}
Then add Secure-Pref-Manager to your Module’s dependencies
dependencies {
compile 'com.github.prashantsolanki3:Secure-Pref-Manager:0.25'
}
##Usage
###Initialize SecurePrefManager anywhere before using it.
- Basic Initialization
new SecurePrefManagerInit.Initializer(getApplicationContext())
.initialize();
- Recommended Initialization
- AES Encryption by Default.
- Auto Generated Key.
new SecurePrefManagerInit.Initializer(getApplicationContext())
.useEncryption(true)
.initialize();
- Advance Initialization: Only if you wanna add Custom Encryption Methods.
new SecurePrefManagerInit.Initializer(getApplicationContext())
.useEncryption(true)
.setCustomEncryption(new Encryptor(getApplicationContext()) {
@Override
public String encrypt(String s) throws Exception {
// Your Encryption Algorithm
return encryptedString;
}
@Override
public String decrypt(String s) throws Exception {
// Your Decryption Algorithm
return decryptedString;
}
})
.initialize();
Adding and Retrieving Preferences
- Adding
SecurePrefManager.with(this)
.set("user_name")
.value("LoremIpsum")
.go();
- Retrieving
String userName = SecurePrefManager.with(this)
.get("user_name")
.defaultValue("unknown")
.go();
Hide Preferences from 3rd Party applications (EXPERIMENTAL)
- Unhide Preferences when the activity starts
@Override
protected void onStart() {
super.onStart();
SecurePrefManager.with(getApplicationContext())
.unhide(new HidePreferences.PreferenceUpdateListener() {
@Override
public void onFailure() {
Log.d("unhiding", "Failed");
}
@Override
public void onProgress(int p, int max) {
Log.d("unhiding", "Progress: " + p + "/" + max);
}
@Override
public void onSuccess() {
Log.d("unhiding", "Success");
}
});
}
- Hide preferences when leaving the activity
@Override
protected void onPause() {
SecurePrefManager.with(getApplicationContext())
.hide(new HidePreferences.PreferenceUpdateListener() {
@Override
public void onFailure() {
}
@Override
public void onProgress(int p, int max) {
}
@Override
public void onSuccess() {
}
});
}
Have Fun!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].