# File lib/webrick/httpauth/htpasswd.rb, line 130def set_passwd(realm,user,pass)if@password_hash==:bcrypt# Cost of 5 to match Apache default, and because the# bcrypt default of 10 will introduce significant delays# for every request.@passwd[user]=BCrypt::Password.create(pass,:cost=>5)else@passwd[user]=make_passwd(realm,user,pass)endend