Docs HomeMongoDB Manual

Queryable Encryption Compatibility可查询加密兼容性

Queryable Encryption with equality queries is generally available (GA) in MongoDB 7.0 and later. 具有相等查询的可查询加密在MongoDB 7.0及更高版本中通常可用(GA)。The Queryable Encryption Public Preview, released in version 6.0, is no longer supported. Data encrypted using the Public Preview is incompatible with the feature release. 不再支持6.0版本中发布的“可查询加密预览”。使用公共预览加密的数据与功能版本不兼容。For more information, see Compatibility Changes in MongoDB 7.0.有关更多信息,请参阅MongoDB 7.0中的兼容性更改

This page describes the MongoDB and driver versions with which Queryable Encryption is compatible.本页介绍了可查询加密兼容的MongoDB和驱动程序版本。

MongoDB Edition, Topology, and Version CompatibilityMongoDB版本、拓扑结构和版本兼容性

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.带自动加密的可查询加密仅适用于MongoDB Enterprise Edition和MongoDB Atlas。您可以在MongoDB副本集或分片集群上使用QueryableEncryption,但不能在独立实例上使用。

Manual encryption is available with MongoDB Community and Enterprise Edition.MongoDB社区版和企业版提供手动加密

Driver Compatibility Table驱动程序兼容性表

Queryable Encryption with equality queries requires the following minimum versions for compatible MongoDB drivers:具有相等查询的可查询加密需要以下兼容MongoDB驱动程序的最低版本:

Driver驱动程序Encryption Library加密库
Node.js version 5.5.0 or later.mongodb-client-encryption version 2.8.0 or later
C#/.NET version 2.20.0 or later.No additional dependency
Java (Synchronous) version 4.10.0 or later.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