2025-05-11 10:37:42 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Obfuz.Settings
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class EncryptionVMSettings
|
|
|
|
|
{
|
|
|
|
|
[Tooltip("secret key for generating encryption virtual machine source code")]
|
|
|
|
|
public string codeGenerationSecretKey = "Obfuz";
|
|
|
|
|
|
2025-05-11 17:36:58 +08:00
|
|
|
|
[Tooltip("encryption OpCode count, should be power of 2 and >= 64")]
|
|
|
|
|
public int encryptionOpCodeCount = 256;
|
|
|
|
|
|
2025-05-11 10:37:42 +08:00
|
|
|
|
[Tooltip("encryption virtual machine source code output dir")]
|
|
|
|
|
public string codeOutputDir = "Assets/Obfuz";
|
|
|
|
|
}
|
|
|
|
|
}
|