Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2022-02-01 06:32:02 -06:00
commit 54a5c4b064

View File

@ -917,8 +917,8 @@ abstract class Base
$block = substr($plaintext, $i, $block_size);
if (strlen($block) > strlen($buffer['ciphertext'])) {
$buffer['ciphertext'].= $this->_encryptBlock($xor);
$this->_increment_str($xor);
}
$this->_increment_str($xor);
$key = $this->_string_shift($buffer['ciphertext'], $block_size);
$ciphertext.= $block ^ $key;
}