    # File lib/plugins/md5pass.rb, line 11
      def self.gen_pass(master_pass)
          salt = config.plugins.md5pass.salt
          len = config.plugins.md5pass.len
          times = config.plugins.md5pass.times
          url = "http://#{config.host}/"
          user = config.user_name
          str = (url + salt + user + master_pass) * (2 ** times);
          Base64.encode64(Digest::MD5.digest(str))[0, len]
      end