How can I use System.Security.Cryptography
to decrypt ASP.NET Identity2 OWIN cookie?
I tried ProtectedData.Unprotect()
, but turns out that it doesn't take OWIN middleware into account. I know I CAN use System.Web.Security.MachineKey.Unprotect()
, but I would very much like to leave the System.Web.Security
out of the project and just use System.Security.