Merge pull request #12 from gnuboard/fix/cbc

seed_cbc undefined 변수 수정
This commit is contained in:
2024-04-12 16:09:56 +09:00
committed by GitHub

View File

@ -782,6 +782,7 @@ class KISA_SEED_CBC {
$pbszCipherText = array_pad(array(), $message_length, 0);
Common::arraycopy_system($message, $message_offset, $pbszCipherText, 0, $message_length);
$nCipherTextLen = count($pbszCipherText);
$result = null;
if ($nCipherTextLen % KISA_SEED_CBC::BLOCK_SIZE_SEED) {
return $result;