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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
byte[] EncryptMessage(
	byte[] plainTextBytes
)

Parameters

plainTextBytes
Type: SystemByte
Plaintext to encrypt.

Return Value

Type: Byte
Encrypted ciphertext.
See Also