From: matz@... (Yukihiro Matsumoto) Date: 2001-11-27T15:15:29+09:00 Subject: [ruby-talk:26619] Re: Password encryption (UNIX) Hi, In message "[ruby-talk:26616] Password encryption (UNIX)" on 01/11/27, "HarryO" writes: |I want to use the standard UNIX login/password mechanism for |authentication of a user. Is there any support in the libraries to |allow me to encrypt a password, so I can compare it with the one |stored for a given login name? Suppose you have "pass" as crypted password and "input" as comparing plain password: input.crypt(pass) == pass will be true if input is a correct password. matz.