Skip to main content

ID1Encrypt.Encrypt method

Encrypt an object with associated data.

public EncryptResponse Encrypt(byte[] plaintext, byte[] associatedData, 
IEnumerable<string>? groupIds = null)
parameterdescription
plaintextThe plaintext to encrypt.
associatedDataThe attached associated data.
groupIdsThe group IDs that should have access to the object.

Return Value

An instance of EncryptResponse.

See Also