Not sure I would believe much about the "key card encoding" bit...
Look at Snopes on this.
http://www.snopes.com/crime/warnings/hotelkey.asp
I personally contacted Hilton and Marriott, where I stay the most and have a written reply from both saying that a separate computer is used for the key cards, and its not connected to the computer with our personal information.