Changed to CipherRead and cipherWrite