def options(self, request, key, default):
        if key in request.GET and (request.GET[key] in self.opts_dict or
                                   request.GET[key] in self.extras_dict):
            opt = request.GET[key]
        else:
            opt = default
        if opt in self.opts_dict:
            title = self.opts_dict[opt]
        else:
            title = self.extras_dict[opt]
        return opt, title
Calculates an encryption and a decryption key for p and q, and
dataset/ETHPy150Open mozilla/addons-server/src/olympia/addons/views.py/BaseFilter.options--crossover with--dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/_version133.py/calculate_keys