def db_decrypt_parameters_and_properties(ctxt, encryption_key, batch_size=50, verbose=False):
 excs = []
 excs.extend(_db_encrypt_or_decrypt_template_params(ctxt, encryption_key, False, batch_size, verbose))
 excs.extend(_db_encrypt_or_decrypt_resource_prop_data(ctxt, encryption_key, False, batch_size, verbose))
 return excs

def db_decrypt_parameters_and_properties ( ctxt , encryption_key , batch_size = 50 , verbose = False ) : excs = [ ] excs . extend ( _db_encrypt_or_decrypt_template_params ( ctxt , encryption_key , False , batch_size , verbose ) ) excs . extend ( _db_encrypt_or_decrypt_resource_prop_data ( ctxt , encryption_key , False , batch_size , verbose ) ) return excs
decrypt parameters and properties for all templates in db .