-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: updated README.md and CHANGELOG.md
- Loading branch information
1 parent
e9e1620
commit 25119cc
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
## Secure Preferences [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.hussainderry/secure-preferences/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.github.hussainderry/secure-preferences) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Secure%20Preferences-brightgreen.svg?style=plastic)](https://android-arsenal.com/details/1/5403) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7f81fd82dae444d38e783f72bfd951d5)](https://www.codacy.com/app/hussain.derry/secure-preferences?utm_source=github.com&utm_medium=referral&utm_content=HussainDerry/secure-preferences&utm_campaign=Badge_Grade) | ||
|
||
A simple library that provides an AES encrypted version of the Android shared preferences | ||
A simple library that provides an encrypted version of the Android shared preferences. | ||
Current supported algorithms (AES, TripleDES). | ||
|
||
## Setup | ||
|
||
#### Gradle | ||
|
||
`compile 'com.github.hussainderry:secure-preferences:2.1.1'` | ||
`compile 'com.github.hussainderry:secure-preferences:3.0.0'` | ||
|
||
## Sample Usage | ||
### Configuring Encryption Parameters | ||
|
@@ -20,6 +21,7 @@ SecurityConfig fullConfig = new SecurityConfig.Builder(PASSWORD) | |
.setAesKeySize(256) // key size in bits | ||
.setPbkdf2SaltSize(32) // salt size in bytes | ||
.setPbkdf2Iterations(24000) | ||
.setEncryptionAlgorithm(EncryptionAlgorithm.AES) | ||
.setDigestType(DigestType.SHA256) | ||
.build(); | ||
|
||
|
@@ -42,7 +44,7 @@ if(mFuture.isDone()){ | |
## Developed By | ||
|
||
* Hussain Al-Derry | ||
|
||
**Email** - [email protected] | ||
|
||
## License | ||
|