From: Patrick Plattes Date: 2006-12-05T22:08:54+09:00 Subject: String#crypt first 8 characters Hello, i had a problem with str.crypt - i got every time the same result. The problem is, that this method only use the first 8 characters of the string: irb(main):022:0> "1234567".crypt('aa') => "aaOK9MRbwVNmQ" irb(main):023:0> "12345678".crypt('aa') => "aaNN3X.PL2piw" irb(main):024:0> "123456789".crypt('aa') => "aaNN3X.PL2piw" If it is a feature not a bug, it should not be an undocumented feature ;-) . ruby-doc.org doesn't told me about this behaviour. Have a nice day, Patrick