From b657415e9a3a36352dbac0fb7938ee36ae984ed3 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Tue, 24 Jun 2025 00:53:12 -0700 Subject: [PATCH] Encrypt `WWWForm` keys too --- Assets/Scripts/EncryptedWWWForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/EncryptedWWWForm.cs b/Assets/Scripts/EncryptedWWWForm.cs index 3abde3f..331a75c 100644 --- a/Assets/Scripts/EncryptedWWWForm.cs +++ b/Assets/Scripts/EncryptedWWWForm.cs @@ -6,7 +6,7 @@ public class EncryptedWWWForm public void AddField(string key, string value) { - form.AddField(key, SensitiveInfo.Encrypt(value, SensitiveInfo.SERVER_SEND_TRANSFER_KEY)); + form.AddField(SensitiveInfo.Encrypt(key, SensitiveInfo.SERVER_SEND_TRANSFER_KEY), SensitiveInfo.Encrypt(value, SensitiveInfo.SERVER_SEND_TRANSFER_KEY)); } public WWWForm GetWWWForm() => form;