Notes on stream chiper bit flipping attacks