method
make_passwd
v1_9_1_378 -
Show latest stable
- Class:
WEBrick::HTTPAuth::BasicAuth
make_passwd(realm, user, pass)public
No documentation available.
# File lib/webrick/httpauth/basicauth.rb, line 21
def self.make_passwd(realm, user, pass)
pass ||= ""
pass.crypt(Utils::random_string(2))
end