public static byte[] decrypt(final byte[] data) { return AES.decrypt( data, AES.getSimplePassword(), AES.getSimpleSalt(), AES.getSimpleIV(), AES.KEY_SIZE_DEFAULT, AES.ITERATION_COUNT_DEFAULT); }
public static String encrypt(final String text) { return AES.encrypt(text, AES.getSimplePassword(), AES.getSimpleSalt(), AES.getSimpleIV()); }