Etc
-
AES(암호화, 복원화)Etc 2022. 10. 24. 14:45
//key값의 길이에 따라 AES128, AES192, AES256 으로 구분 //AES128 : 키값 16bytes, AES192 : 키값 24bytes, AES256 : 키값 32bytes object AESUtil { private const val secretKey = "your_secretKey" private const val ecbTransformation = "AES/ECB/PKCS5Padding" private const val cbcTransformation = "AES/CBC/PKCS5Padding" private val ivBytes = secretKey.toByteArray() //AES 암호화(ECB) fun aesEncodeECB(str: String): String { try..
-
SourceTree 에러 메세지(Window 환경)Etc 2022. 2. 25. 11:23
1. Logon failed, use ctrl+c to cancel basic credential prompt. git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin local_branch_name:branch_name Logon failed, use ctrl+c to cancel basic credential prompt. 1. Tools(도구) -> Options(옵션)-> Authentication(인증) 2. 계정 선택 편집 3. OAuth 토큰 새로고침 클릭