AesEncryption doesn't appear to decrypt right?
问题 I wrote this class to allow me to encrypt and decrypt the json representation of objects but it doesn't appear to work as the MSDN documentation (here: https://msdn.microsoft.com/en-us/library/system.security.cryptography.aesmanaged%28v=vs.95%29.aspx?f=255&MSPPError=-2147217396) suggests it should ... using Newtonsoft.Json; using System; using System.Configuration; using System.IO; using System.Security.Cryptography; using System.Text; using System.Web.Configuration; namespace Core.Data {