728x90 반응형 자바1 AES256/ base64 암호화 with java build.gradle dependencies { ... implementation 'org.springframework.boot:spring-boot-starter-security' } AES_Encryption.java import java.io.ByteArrayOutputStream; import java.security.SecureRandom; import java.security.spec.AlgorithmParameterSpec; import java.util.Arrays; import java.util.Base64; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.spec.IvParameterSpec;.. 2021. 4. 2. 이전 1 다음 728x90