As I am trying to debug an issue with cookie sizes in my Asp.Net Core MVC application.
It would really help to see what is stored in the cookies that Asp.Net Core is making in my browser. (I think it would help me understand what is going on and thus help me figure out a fix.)
How can I take the cookie values found in the Chrome dev tools and decrypt them?
Do be clear, this is a screen shot of the data I want to decrypt:
As an FYI, this is the issue I am having.
Update:
I was able to get the "key" using this code:
services.AddDataProtection().PersistKeysToFileSystem(new DirectoryInfo(@"c:\path"));Unfortunately, the "key" does not seem to follow the rules for AES encryption.
