Skip to content

😍⭐⭐Simple String Encrypt & Decrypt Library Android😍⭐⭐

Notifications You must be signed in to change notification settings

00sanoj00/Balanced

Repository files navigation

Balanced

Library Availbale at JitPack.io

😍⭐⭐ Easy way to Encrypt/Decrypt string in Android.😍⭐⭐

Installation

Add jitpack in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}

Step 2. Add the dependency

	dependencies {
	
	         implementation 'com.github.00sanoj00:Balanced:1.0'
	}

How to use

How to Encrypt String

import com.sanoj.balanced.encript.decript.BED;

String mEncriptext = BED.encryptToBase64String("My String","mykey");

///example
String mEncriptext = BED.encryptToBase64String("Hi How Are You","12345");

How to Decrypt String

import com.sanoj.balanced.encript.decript.BED;

String mDecrypt = BED.decryptBase64StringToString("My decrypt String ","mykey");

///example
String mDecrypt = BED.decryptBase64StringToString("5iKauOrKFRS1/9xQVi/icmUhAEmGSHGqxmv3YsOVYZ2nZgtnBwjF9+SmkPX3RYLcijcXdQ== ","12345");