/// <summary> /// Initializes a new instance of the <see cref="Encryptor"/> class. /// </summary> /// <param name="algId">The algorithm to encrypt data.</param> public Encryptor(EncryptionAlgorithm algId) { transformer = new EncryptTransformer(algId); }