From 4f427a58c4c19e90e3c313ae47a7177ec97148a0 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Sat, 6 Dec 2025 16:39:15 +0530 Subject: [PATCH] Changed the encription key for response --- Marco.Pms.Services/Extensions/EncryptResponseAttribute.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Extensions/EncryptResponseAttribute.cs b/Marco.Pms.Services/Extensions/EncryptResponseAttribute.cs index 3b321fc..e861515 100644 --- a/Marco.Pms.Services/Extensions/EncryptResponseAttribute.cs +++ b/Marco.Pms.Services/Extensions/EncryptResponseAttribute.cs @@ -14,7 +14,8 @@ public class EncryptResponseAttribute : TypeFilterAttribute private class EncryptResponseFilter : IAsyncResultFilter { // 32-byte Key - private readonly string _keyBase64 = "h9J4kL2mN5pQ8rS1tV3wX6yZ0aB7cD9eF1gH3jK5mN6="; + //private readonly string _keyBase64 = "h9J4kL2mN5pQ8rS1tV3wX6yZ0aB7cD9eF1gH3jK5mN6="; + private readonly string _keyBase64 = "u4J7p9Qx2hF5vYtLz8Kq3mN1sG0bRwXyZcD6eH8jFQw="; public async Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next) {