@@ -3,7 +3,7 @@ using System.Collections.Generic; | |||||
using System.Text; | using System.Text; | ||||
using System.Net.Sockets; | using System.Net.Sockets; | ||||
using System.Net; | using System.Net; | ||||
using Shadowsocks.Encrypt; | |||||
using Shadowsocks.Encryption; | |||||
using Shadowsocks.Model; | using Shadowsocks.Model; | ||||
namespace Shadowsocks.Controller | namespace Shadowsocks.Controller | ||||
@@ -1,7 +1,7 @@ | |||||
using System.Security.Cryptography; | using System.Security.Cryptography; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public abstract class EncryptorBase | public abstract class EncryptorBase | ||||
: IEncryptor | : IEncryptor | ||||
@@ -2,7 +2,7 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Reflection; | using System.Reflection; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public static class EncryptorFactory | public static class EncryptorFactory | ||||
{ | { | ||||
@@ -2,7 +2,7 @@ | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public interface IEncryptor : IDisposable | public interface IEncryptor : IDisposable | ||||
{ | { | ||||
@@ -3,7 +3,7 @@ using System.Collections.Generic; | |||||
using System.Security.Cryptography; | using System.Security.Cryptography; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public abstract class IVEncryptor | public abstract class IVEncryptor | ||||
: EncryptorBase | : EncryptorBase | ||||
@@ -6,7 +6,7 @@ using System.IO; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public class PolarSSL | public class PolarSSL | ||||
{ | { | ||||
@@ -5,7 +5,7 @@ using System.Security.Cryptography; | |||||
using System.Text; | using System.Text; | ||||
using System.Threading; | using System.Threading; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public class PolarSSLEncryptor | public class PolarSSLEncryptor | ||||
: IVEncryptor, IDisposable | : IVEncryptor, IDisposable | ||||
@@ -6,7 +6,7 @@ using System.IO; | |||||
using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public class Sodium | public class Sodium | ||||
{ | { | ||||
@@ -2,7 +2,7 @@ | |||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
using System.Text; | using System.Text; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public class SodiumEncryptor | public class SodiumEncryptor | ||||
: IVEncryptor, IDisposable | : IVEncryptor, IDisposable | ||||
@@ -1,7 +1,7 @@ | |||||
using System; | using System; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||
namespace Shadowsocks.Encrypt | |||||
namespace Shadowsocks.Encryption | |||||
{ | { | ||||
public class TableEncryptor | public class TableEncryptor | ||||
: EncryptorBase | : EncryptorBase | ||||
@@ -1,7 +1,7 @@ | |||||
using System; | using System; | ||||
using Microsoft.VisualStudio.TestTools.UnitTesting; | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||||
using Shadowsocks.Controller; | using Shadowsocks.Controller; | ||||
using Shadowsocks.Encrypt; | |||||
using Shadowsocks.Encryption; | |||||
using System.Threading; | using System.Threading; | ||||
using System.Collections.Generic; | using System.Collections.Generic; | ||||