问题:System.Security.Cryptography.CryptographicException:“Specified key is not a valid size for this algorithm.”
解决方法:AES加密中参数key应是32位,如果位数不对会报此错。
Specified key is not a valid size for this algorithm
最新推荐文章于 2023-05-10 09:06:28 发布
问题:System.Security.Cryptography.CryptographicException:“Specified key is not a valid size for this algorithm.”
解决方法:AES加密中参数key应是32位,如果位数不对会报此错。