Uses the Data Loss Prevention API to de-identify sensitive data in a string using format-preserving encryption (FPE). The encryption is performed with an unwrapped key.
Code sample
Python
To learn how to install and use the client library for Cloud DLP, see the Cloud DLP Client Libraries.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser