Method: WEBrick::HTTPAuth::DigestAuth.make_passwd

Defined in:
lib/webrick/httpauth/digestauth.rb

.make_passwd(realm, user, pass) ⇒ Object

Used by UserDB to create a digest password entry



68
69
70
71
# File 'lib/webrick/httpauth/digestauth.rb', line 68

def self.make_passwd(realm, user, pass)
  pass ||= ""
  Digest::MD5::hexdigest([user, realm, pass].join(":"))
end