PHP - Manual: MongoDB\Driver\ClientEncryption::decrypt
2025-02-27
(mongodb >=1.7.0)
MongoDB\Driver\ClientEncryption::decrypt — Decrypt a value
Decrypts the value.
value
A MongoDB\BSON\Binary instance with subtype 6 containing the encrypted value.
Returns the decrypted value as it was passed to MongoDB\Driver\ClientEncryption::encrypt().
官方地址:https://www.php.net/manual/en/mongodb-driver-clientencryption.decrypt.php