(footer_key=FOOTER_KEY_NAME, column_keys=COLUMN_KEYS)
| 73 | |
| 74 | |
| 75 | def create_encryption_config(footer_key=FOOTER_KEY_NAME, column_keys=COLUMN_KEYS): |
| 76 | return pe.EncryptionConfiguration( |
| 77 | footer_key=footer_key, |
| 78 | plaintext_footer=False, |
| 79 | column_keys=column_keys, |
| 80 | encryption_algorithm="AES_GCM_V1", |
| 81 | # requires timedelta or an assertion is raised |
| 82 | cache_lifetime=timedelta(minutes=5.0), |
| 83 | data_key_length_bits=256, |
| 84 | ) |
| 85 | |
| 86 | |
| 87 | def create_decryption_config(): |
no outgoing calls
no test coverage detected