Package com.seomse.crypto
Class LoginCrypto
java.lang.Object
com.seomse.crypto.LoginCrypto
로그인 정보 암복호화
로그인 정보를 이용하여 키를 생성하고 암복호화 하기 떄문에 방법을 모르면 괜찮아도
방법을 알면 알고리즘으로 복호화가 가능해서 위험할 수 있음
- Author:
- macle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]decryption(String encryptionId, String encryptionPassword) 로그인 정보 복호화static String[]encryption(String id, String password) 로그인 정보 암호화
-
Constructor Details
-
LoginCrypto
public LoginCrypto()
-
-
Method Details
-
encryption
로그인 정보 암호화- Parameters:
id- string idpassword- string password- Returns:
- string [] string[0] = id enc , string[1] = password enc
-
decryption
로그인 정보 복호화- Parameters:
encryptionId- 암호화된 아이디encryptionPassword- 암호화된 패스워드- Returns:
- string [] string[0] = id , string[1] = password
-