AES256 encode,decode 를 해보자
public class EncryptionHelper { public static byte[] ivBytes = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };private static String key = "KEY"; public static String AES_Encode(String str){ byte[] textBytes = new byte[0];Cipher cipher = null;String result = null;try {textBytes = str.getBytes("UTF-8");AlgorithmParameterSpec ivSpec = new IvParame..
더보기