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
messageLength
intNumber of message bytes. Remaining bytes are the security trailer.
encryptedBytes
byte[]Ciphertext to decrypt.
Returns
- byte[]
Decrypted plaintext.