Skip to content
sample code for the client-side field level encryption project
JavaScript Java Go C# Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sample "hello world" code for MongoDB client-side field level encryption

This Repository is NOT a supported MongoDB product

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.

Additional Driver Language-specific Docs and Code Examples

You can’t perform that action at this time.