Skip to content
 
 

Repository files navigation

Encryption

Encryption is a simple way to create encrypted strings to Android project.

Android Arsenal

#How to use# 1º Add the gradle dependency

compile 'se.simbio.encryption:library:1.0.0'

2º Use it

String key = "$3creTQei";
String secretText = "Text to be encrypt";
Encryption encryption = new Encryption();
String encrypted = encryption.encrypt(key, secretText);
String decrypted = encryption.decrypt(key, encrypted);
Log.d("Encryption", String.format("The text '%s' encrypted with key '%s' is %s", secretText, key, encrypted));
Log.d("Encryption", String.format("This is the text '%s' decrypted with key '%s' on %s", decrypted, key, encrypted));

##License## GNU Lesser General Public License at version 3

##Developed By##

About

Encryption is a simple way to create encrypted strings to Android project.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages