1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 06:36:30 +09:00

Various encryption algorithms added; thanks shawn andrew rose

This commit is contained in:
lidgren
2011-04-25 15:25:35 +00:00
parent 19000f8036
commit 814cd1507d
6 changed files with 710 additions and 1 deletions

View File

@@ -12,12 +12,16 @@ namespace UnitTests
public static void Run(NetPeer peer)
{
//
// Test XTEA
// Test encryption
//
List<INetEncryption> algos = new List<INetEncryption>();
algos.Add(new NetXorEncryption("TopSecret"));
algos.Add(new NetXtea("TopSecret"));
algos.Add(new NetAESEncryption("TopSecret"));
algos.Add(new NetRC2Encryption("TopSecret"));
algos.Add(new NetDESEncryption("TopSecret"));
algos.Add(new NetTripleDESEncryption("TopSecret"));
foreach (var algo in algos)
{