Encryption is a simple way to encrypt and decrypt strings on Android   This can be achieved by some third-party libraries, here we look about one among them   How to use     1.  Add JitPack  to your build file      allprojects {     repositories {       ...       maven { url 'https://jitpack.io' }     }   }     2.Add the gradle dependency     compile 'com.github.simbiose:Encryption:2.0.1'     3.  Get an Encryption instance      String key = "YourKey";   String salt = "YourSalt";   byte[] iv = new byte[16];   Encryption encryption = Encryption.getDefault(key, salt, iv);      4. Encrypt your text     String encrypted = encryption.encryptOrNull("Text to be encrypt");     5. Decrypt your text     String decrypted = encryption.decryptOrNull(encrypted);     for more ...     ----------------------------------------------------------------------------------------------------------------     Happy Coding...    
Learn with Samples