human
Complete the below
def filter_factory(global_conf, **local_conf):

    ''''Provides a factory function for loading encryption middleware.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    conf = global_conf.copy()
    conf.update(local_conf)
    enabled = (not config_true_value(conf.get('disable_encryption', 'false')))
    register_swift_info('encryption', admin=True, enabled=enabled)
    def encryption_filter(app):
        return Decrypter(Encrypter(app, conf), conf)
    return encryption_filter