bigframes.bigquery.deterministic_encrypt#

bigframes.bigquery.deterministic_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 using deterministic AEAD. The algorithm of the primary key must be DETERMINISTIC_AEAD_AES_SIV_CMAC_256. Binds the ciphertext to the context defined by additional_data. Returns NULL if any input is NULL.