bigframes.bigquery.aead.encrypt#
- bigframes.bigquery.aead.encrypt(keyset: Series | Expression | Literal[Sentinel.ARGUMENT_DEFAULT] | bytes | dict, plaintext: Series | Expression | Literal[Sentinel.ARGUMENT_DEFAULT] | bytes | str, additional_data: Series | Expression | Literal[Sentinel.ARGUMENT_DEFAULT] | bytes | str) Series | Expression[source]#
Encrypts plaintext using the primary cryptographic key in keyset. The algorithm of the primary key must be AEAD_AES_GCM_256. Binds the ciphertext to the context defined by additional_data. Returns NULL if any input is NULL.