<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

DataProtector

public class DataProtector
Encrypts and decrypts data.
public DataProtector(Store store)

Initializes a new DataProtector with the provided data protection store.

public byte[] Decrypt(byte[] cipherText)

Decrypts the provided cipher text.

public byte[] Decrypt(byte[] cipherText, byte[] entropyText)

Decrypts the provided cipher text.

public byte[] Encrypt(byte[] plainText)

Encrypts data.

public byte[] Encrypt(byte[] plainText, byte[] entropyText)

Encrypts data using the provided entropy.