Update BlockCipher.php

empty($data) returns false when data is 0 (as integer), 0.0 (as float) & '0' (as string). These values should be allowed to get encrypted
Changed validation per @Maks3w suggestion
Merge pull request #5680