Note: Code samples in this repository are entirely for development & evaluation only. Note that all examples that use local key files are intended only for illustration - for production purposes, the integrated Key Management Service (KMS) option is strongly recommended.
For complete information, please see the MongoDB Client-Side Encryption Documentation and the multi-language CSFLE MedCo tutorial for the latest updates and schema & security architecture guidance.
The snippets in this repository are meant to be simple copy/paste examples to get you up and running quickly to let you explore the main features of MongoDB's client-side encryption.
See also github.com/mongodb-labs/field-level-encryption-sandbox