GITEA 원격저장 로그인 시 토큰 적용
This commit is contained in:
@@ -127,6 +127,11 @@ public class Encryypt {
|
|||||||
return byteData;
|
return byteData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 메인함수
|
||||||
|
* @param args
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
byte[] key = generateKey("AES", 128);
|
byte[] key = generateKey("AES", 128);
|
||||||
String hexKey = byteArrayToHex(key); //generateKey의 16진수 문자열로 변환
|
String hexKey = byteArrayToHex(key); //generateKey의 16진수 문자열로 변환
|
||||||
|
|||||||
Reference in New Issue
Block a user