Click or drag to resize

ISecurityContextEncryptMessage Method

Encrypts plaintext to ciphertext.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
byte[] EncryptMessage(
	byte[] plainTextBytes
)

Parameters

plainTextBytes
Type: SystemByte
Plaintext to encrypt.

Return Value

Type: Byte
Encrypted ciphertext.
See Also