namespace Falcon.SugarApi.Encryption { /// /// AES加密算法配置 /// public class AESConfig { private int keyLength = 32; /// /// 秘钥长度。最大32 /// public int KeyLength { get => keyLength; set => keyLength = value > 32 ? 32 : value; } /// /// 秘钥字符表 /// public string KeyChars { get; set; } = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789,.!/*\"; } }