Category: Java

자바 개발 관련 카테고리입니다.

Java

[AES 256] crypto Cipher 사용하기

import java.security.InvalidAlgorithmParameterException;import java.security.InvalidKeyException;import java.security.NoSuchAlgorithmException;import java.security.spec.AlgorithmParameterSpec;import javax.crypto.BadPaddingException;import javax.crypto.Cipher;import javax.crypto.IllegalBlockSizeException;import javax.crypto.NoSuchPaddingException;import javax.crypto.spec.IvParameterSpec;import javax.crypto.spec.SecretKeySpec; public class AES256Cipher {      public static byte[] ivBytes = { 0x00, 0x00,...
error: Content is protected !!