Text this: linear equivalence determination of key-stream sequence using Z-Transform