Added hasIv to CryptByteBuffer for better readability.