Docs Menu
Docs Home
/
MongoDB Manual
/ / / / /

Queryable Encryption Compatibility

This page describes the MongoDB and driver versions with which Queryable Encryption is compatible.

Queryable Encryption with automatic encryption is only available with MongoDB Enterprise Edition and MongoDB Atlas. You can use Queryable Encryption on a MongoDB replica set or sharded cluster, but not a standalone instance.

Explicit encryption is available with MongoDB Community and Enterprise Edition.

Queryable Encryption with equality queries requires the following minimum versions for compatible MongoDB drivers:

Driver
Encryption Library
Node.js versions 5.5.0 through 5.8.1
Node.js version 6.0.0 or later

mongodb-client-encryption with the same major version number as the Node.js driver.

For example, Node.js driver v6.x.x requires mongodb-client-encryption v6.x.x.

C#/.NET version 2.20.0 or later
No additional dependency
mongodb-crypt version 1.8.0 or later
PyMongo version 4.4 or later
pymongocrypt version 1.6 or later
Go version 1.12 or later
libmongocrypt version 1.8.0 or later
C version 1.24.0 or later
libmongocrypt version 1.8.0 or later
C++ version 3.8.0 or later
libmongocrypt version 1.8.0 or later
PHP version 1.16 or later
No additional dependency
Ruby version 2.19 or later
libmongocrypt-helper version 1.8.0 or later
Rust version 2.6.0 or later
libmongocrypt version 1.8.0 or later
Scala version 4.10.0 or later
mongodb-crypt version 1.8.0 or later

Back

Reference