serverlist handler + basic crypto, rename project

This commit is contained in:
raphaeIl
2025-01-08 23:19:50 -05:00
parent f855950370
commit 55c3fc1fec
563 changed files with 278 additions and 206 deletions

View File

@@ -0,0 +1,14 @@
namespace Novaria.Common.Crypto
{
public static class XOR
{
public static void Crypt(byte[] bytes, byte[] key, uint offset = 0)
{
while (offset < bytes.Length)
{
bytes[offset] ^= key[offset % key.Length];
offset++;
}
}
}
}