Skip to content

Instantly share code, notes, and snippets.

Avatar

Oscar - Minseok Kim v0o0v

View GitHub Profile
View AESEncryptor
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
public class AESEncryptor {
private static final byte[] key = "1234567890123456".getBytes(StandardCharsets.UTF_8);
private static final String ALGORITHM = "AES";
View Clien
package wc;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class Clien {
public static void main(String[] args) throws Exception {
View Log AOP
package com.lge.hae.bams.bems.dashboard.aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.springframework.stereotype.Component;
@Component
View Google Drive File Update
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.List;