NEasyTCP by Nguyen

<PackageReference Include="NEasyTCP" Version="1.0.9" />

 Encryption

public class Encryption
public Encryption(SymmetricAlgorithm algorithm)

public Encryption(SymmetricAlgorithm algorithm, byte[] key)

public Encryption(SymmetricAlgorithm algorithm, string password, string salt, int iterations = 10000)

public Encryption(SymmetricAlgorithm algorithm, int keySize, string password, string salt, int iterations = 10000)

public static byte[] CreateKey(int keySize, string password, string salt, int iterations = 10000)

public static byte[] CreateKey(SymmetricAlgorithm algorithm, string password, string salt, int iterations = 10000)

public string Decrypt(string text)

public string Decrypt(string text, Encoding encoder)

public byte[] Decrypt(byte[] data)

public string Encrypt(string text)

public string Encrypt(string text, Encoding encoder)

public byte[] Encrypt(byte[] data)

public byte[] GetKey()