AES encoding
Open Source Project AES encoding class public class AESHelper { // // Class for encrypting and decoding text // In MainActivity class // encrypt() - encryption // decrypt() - decode // // ... public static String encrypt(String seed, String cleartext) throws Exception { byte[] rawKey = getRawKey(seed.getBytes()); byte[] result = encrypt(rawKey, cleartext.getBytes()); return toHex(result); } public static String decrypt(String seed, String encrypted) throws Exception { byte[] rawKey = getRawKey(seed.getBytes()); byte[] enc = toByte(encrypted); ...