• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
chominsoo4245 / mjon_git star
Forked from hylee / mjon_git
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
mjon_gitsrcmainjavaitnletutluserserviceSecuKeyUtil.java
Download as .zip file
File name
Commit message
Commit date
DATABASE
mjon_git
2023-06-12
src/main
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
.codetogether.ignore
mjon_git
2023-06-12
.gitignore
gitignore 적용
2023-06-12
pom.xml
롬복 추가 , [사용자] 결제관리 > 요금 사용내역 ==> 사용금액 표시 방법 변경 완료
2024-07-09
File name
Commit message
Commit date
java
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
resources
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
webapp
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
File name
Commit message
Commit date
egovframework
mjon_git
2023-06-12
itn
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
File name
Commit message
Commit date
com
발송 진행중
2024-10-11
let
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
web
메인메뉴 및 사이트맵에서 선거 후보자 정보가 없는 경우 선거문자 메뉴가 안보이도록 처리
2024-02-08
File name
Commit message
Commit date
cop
이용약관 및 개인정보 내용 수정
2024-10-28
crypto/web
mjon_git
2023-06-12
fax
주소록 수정중
2024-09-09
hangulparser
mjon_git
2023-06-12
kakao
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
komoran
mjon_git
2023-06-12
lett
선택한 그림문자의 우선선위 변경 기능 추가
2023-09-05
mail
문자발송로직 impl 화 완료 -> 리펙토링 진행 중
2024-09-27
main
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
mjo
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
module/base
금액 포인트 class 수정
2024-07-08
org
mjon_git
2023-06-12
schdlr/service
스케줄러 오류관련 로그 추가
2024-11-05
sec
mjon_git
2023-06-12
solr
mjon_git
2023-06-12
sts
mjon_git
2023-06-12
sym
이용약관 관련 기능 수정
2024-11-05
uat
Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-09-10
uss
Merge branch 'advc' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into advc
2024-11-05
utl
회원 이메일 발송 건수 15분 단위로 기존 200건 -> 500건으로 변경
2024-10-25
File name
Commit message
Commit date
fcc/service
mjon_git
2023-06-12
log4j
mjon_git
2023-06-12
sim/service
이준호 문자온 커밋 - IP 받아오는 방식 수정
2023-07-28
user/service
회원 이메일 발송 건수 15분 단위로 기존 200건 -> 500건으로 변경
2024-10-25
File name
Commit message
Commit date
CheckBoardUtil.java
mjon_git
2023-06-12
CheckFileUtil.java
mjon_git
2023-06-12
CheckLoginUtil.java
mjon_git
2023-06-12
CheckNoServiceCommon.java
mjon_git
2023-06-12
MjonNoticeSendUtil.java
회원 이메일 발송 건수 15분 단위로 기존 200건 -> 500건으로 변경
2024-10-25
MjonSmsCertSendUtil.java
문자온 대표번호 변경으로 인한 15518011 으로 변경
2024-07-31
SecuKeyUtil.java
mjon_git
2023-06-12
hylee 2023-06-12 e2842cb mjon_git UNIX
Raw Open in browser Change history
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 * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 수정내용 * ------- -------- --------------------------- * 2021.07.16 조용준 최초 생성 * * * </pre> */ @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<p_length;i++){ p_random = (int )(Math.random() * 15);//0~9 v_ret +=Integer.toHexString(p_random); //v_ret +=Integer.toString(random2); } }else { for (int i=0;i<p_length;i++){ p_random = (int )(Math.random() * 9);//0~9 //v_ret +=Integer.toHexString(random2); v_ret +=Integer.toString(p_random); } } return v_ret; } }

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up