Statistics for Using linear difference equations to model nonlinear cryptographic sequences