1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 14:46:29 +09:00

transferred from trunk/Generation3 of lidgren-network

This commit is contained in:
lidgren
2010-05-06 18:30:27 +00:00
commit fbcd550a2a
145 changed files with 17306 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lidgren.Network;
namespace UnitTests
{
public static class EncryptionTests
{
public static void Run()
{
byte[] salt = NetUtility.ToByteArray("59d7304da9b97e2a9d38");
byte[] verifier = NetSRP.ComputePasswordVerifier("user", "password", salt);
Console.WriteLine("Result: " + NetUtility.ToHexString(verifier));
}
}
}