项目作者: 00sanoj00

项目描述 :
😍⭐⭐Simple String Encrypt & Decrypt Library Android😍⭐⭐
高级语言: Java
项目地址: git://github.com/00sanoj00/Balanced.git
创建时间: 2021-06-03T18:20:30Z
项目社区:https://github.com/00sanoj00/Balanced

开源协议:

下载


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:

  1. allprojects {
  2. repositories {
  3. ...
  4. maven { url 'https://jitpack.io' }
  5. }

Step 2. Add the dependency

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

How to use

How to Encrypt String

  1. import com.sanoj.balanced.encript.decript.BED;
  2. String mEncriptext = BED.encryptToBase64String("My String","mykey");
  3. ///example
  4. String mEncriptext = BED.encryptToBase64String("Hi How Are You","12345");

How to Decrypt String

  1. import com.sanoj.balanced.encript.decript.BED;
  2. String mDecrypt = BED.decryptBase64StringToString("My decrypt String ","mykey");
  3. ///example
  4. String mDecrypt = BED.decryptBase64StringToString("5iKauOrKFRS1/9xQVi/icmUhAEmGSHGqxmv3YsOVYZ2nZgtnBwjF9+SmkPX3RYLcijcXdQ== ","12345");