PHP Conference Japan 2024

MongoDB\Driver\ClientEncryption::decrypt

(mongodb >=1.7.0)

MongoDB\Driver\ClientEncryption::decryptDecrypt a value

Description

final public MongoDB\Driver\ClientEncryption::decrypt(MongoDB\BSON\Binary $value): mixed

Decrypts the value.

Parameters

value

A MongoDB\BSON\Binary instance with subtype 6 containing the encrypted value.

Return Values

Returns the decrypted value as it was passed to MongoDB\Driver\ClientEncryption::encrypt().

Errors/Exceptions

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top