// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.Network; using System.IO.Pipelines; using MUnique.OpenMU.Network.SimpleModulus; /// /// Default server implementation of a . /// It encrypts 0xC3 and 0xC4-packets with the "simple modulus" algorithm and writes through every other packet types. /// public class PipelinedEncryptor : PipelinedSimpleModulusEncryptor { /// /// Initializes a new instance of the class. /// /// The target pipe writer. public PipelinedEncryptor(PipeWriter target) : base(target) { } /// /// Initializes a new instance of the class. /// /// The target pipe writer. /// The encryption keys. public PipelinedEncryptor(PipeWriter target, uint[] encryptionKeys) : base(target, encryptionKeys) { } /// /// Initializes a new instance of the class. /// /// The target pipe writer. /// The encryption keys. public PipelinedEncryptor(PipeWriter target, SimpleModulusKeys encryptionKeys) : base(target, encryptionKeys) { } }