C#如何生成密钥
Aes aes = Aes.Create(); SecurityKey = Convert.ToBase64String(aes.Key);
https://learn.microsoft.com/zh-cn/dotnet/standard/security/generating-keys-for-encryption-and-decryption