From: Roman Hausner Date: 2006-11-08T08:09:00+09:00 Subject: Re: Linux authentification check? Gabriele Marrone wrote: > Il giorno 07/nov/06, alle ore 23:40, Roman Hausner ha scritto: > >> As it turns out, it already would be sufficient if I could do the same >> that the "crypt" function achieves under perl. >> Perl does have this as part of the core language -- how can I access >> this function in ruby? > > Ruby does too, as a String method: > > ----------------------------------------------------------- String#crypt > str.crypt(other_str) => new_str Thanks! I was looking in all the wrong places -- wow that you say it, it seems natural to have it as a String method :) -- Posted via http://www.ruby-forum.com/.