A very simple form of encryption perhaps? There are many situations where you would not want to leave a String as plaintext. Gareth > Hi, > > I am reading "Beginning Ruby" by Peter Cooper. > > One of the methods listed on page 50 for operating on strings is > "Test".hash which returns -98625764 in the example listed. > > I am trying to see how this would be used. Can anyone suggest an > application for this method? > > Thanks in advance, > > Doug > -- > Posted via http://www.ruby-forum.com/. > >