php-encrypted-streams
php-encrypted-streams copied to clipboard
fix for AesStream->read(length=1)
When reading from an Aes*cryptionStream with read($length=1)
and $data === "0"
, then return $data ? $data : '';
just gives an empty string.