Skip to content

Commit 7189495

Browse files
committed
update readme
1 parent e2e32df commit 7189495

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Maven
3232

3333
it needed to first init in Application class in `oncreate` method or on Base Activity Class. or everything is not working =D
3434
```java
35-
ConcealPrefRepository.applicationInit(this, false);
35+
ConcealPrefRepository.applicationInit(this);
3636
```
3737

3838

@@ -240,6 +240,11 @@ String cipher = concealCrypto.obscureWithIteration(test,4); //encrypt with 4 ti
240240
String dec = concealCrypto.deObscureWithIteration(cipher,4); //decrypt with 4 times iteration
241241
Log.d("Display", cipher+" ===== "+dec);
242242

243+
String cipher = concealCrypto.aesEncrypt("Hello World is World Hello Aes Cryption");
244+
Log.d("AES E", cipher);
245+
String dec = concealCrypto.aesDecrypt(cipher);
246+
Log.d("AES D", dec);
247+
243248
//special case for files and images
244249
concealCrypto.obscureFile(File file,boolean deleteOldFile);
245250
concealCrypto.deObscureFile(File file,boolean deleteOldFile);

0 commit comments

Comments
 (0)