Method DecryptMessage
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
DecryptMessage(int, byte[])
Decrypts ciphertext to plaintext.
byte[] DecryptMessage(int messageLength, byte[] encryptedBytes)
Parameters
messageLengthintNumber of message bytes. Remaining bytes are the security trailer.
encryptedBytesbyte[]Ciphertext to decrypt.
Returns
- byte[]
Decrypted plaintext.