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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
byte[] EncryptMessage(
	byte[] plainTextBytes
)

Parameters

plainTextBytes
Type: SystemByte
Plaintext to encrypt.

Return Value

Type: Byte
Encrypted ciphertext.
See Also