Optimal Chi-squared Detector of Replay Attacks on Cyber-Physical Systems | IEEE Conference Publication | IEEE Xplore