obfuz/Runtime/EncryptionService.cs

19 lines
458 B
C#
Raw Normal View History

2025-04-23 18:43:14 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Obfuz
{
public static class EncryptionService
{
2025-04-23 18:58:44 +08:00
private static readonly IEncryptor _encryptor = new DefaultEncryptor(new byte[] { 0x1A, 0x2B, 0x3C, 0x4D });
2025-04-23 18:43:14 +08:00
public static void DecryptBytes(byte[] data, int minorSecret)
{
2025-04-23 18:58:44 +08:00
_encryptor.EncryptBytes(data, minorSecret);
2025-04-23 18:43:14 +08:00
}
}
}