KG이니시스 통합인증 암호화적용 여부 선택옵션 추가
This commit is contained in:
1 parent
2aff3cd491
commit
470d65d92a
8 files changed
+32
-9
No files matched your search
@@ -67,10 +67,11 @@ function decrypt_SEED($str, $bszUser_key, $bszIV) {
|
||||
$pdwRoundKey = array_pad(array(), 32, 0);
|
||||
|
||||
$bszPlainText = null;
|
||||
$planBytresMessage = array();
|
||||
|
||||
// 방법 1
|
||||
$bszPlainText = KISA_SEED_CBC::SEED_CBC_Decrypt($keyBytes, $IVBytes, $planBytes, 0, count($planBytes));
|
||||
for ($i = 0; $i < sizeof($bszPlainText); $i++) {
|
||||
for ($i = 0; $i < sizeof((array) $bszPlainText); $i++) {
|
||||
$planBytresMessage[] = sprintf("%02X", $bszPlainText[$i]);
|
||||
}
|
||||
return Hex2String($planBytresMessage);
|
||||
|
||||
Reference in new issue
Block a user