array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'mongodb-driver-clientencryption.decrypt.php', 1 => 'MongoDB\\Driver\\ClientEncryption::decrypt', ), 'up' => array ( 0 => 'class.mongodb-driver-clientencryption.php', 1 => 'MongoDB\\Driver\\ClientEncryption', ), 'prev' => array ( 0 => 'mongodb-driver-clientencryption.createdatakey.php', 1 => 'MongoDB\\Driver\\ClientEncryption::createDataKey', ), 'next' => array ( 0 => 'mongodb-driver-clientencryption.deletekey.php', 1 => 'MongoDB\\Driver\\ClientEncryption::deleteKey', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/clientencryption/decrypt.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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().