You've already forked lidgren-network-gen3
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user