package itn.let.utl.user.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; /** * * 파일 체크에 대한 Util 클래스 * @author 사업기술본부 조용준(ITN) * @since 2021.07.16 * @version 1.0 * @see * *
* << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 2021.07.16 조용준 최초 생성 * * **/ @Controller public class SecuKeyUtil { private static final Logger LOGGER = LoggerFactory.getLogger(CheckBoardUtil.class); //make secu key public static String makeKey( int p_start_length , int p_end_length , String p_key_type //H or ELSE ) throws Exception{ LOGGER.debug("SecuKeyUtil.makeKey()"); String v_ret=""; int p_length = (int )(Math.random() * (p_end_length-p_start_length+1) + p_start_length);//5~14 - length int p_random; if ("H".equals(p_key_type)) { for (int i=0;i