superclass=Object
type=class
library=webrick.httpauth.htdigest
extended=
included=WEBrick=HTTPAuth=UserDB

Apache の htdigest 互換のクラス。

例

 require 'webrick'
 include WEBrick
 htd = HTTPAuth::Htdigest.new('dot.htdigest')
 htd.set_passwd('realm', 'username', 'supersecretpass')
 htd.flush
 htd2 = HTTPAuth::Htdigest.new('dot.htdigest')
 p htd2.get_passwd('realm', 'username', false) == '65fe03e5b0a199462186848cc7fda42b'
