algorithmHS

IDX10720: Unable to create KeyedHashAlgorithm for algorithmHS256'. the key size must be greater than: '256' bits, key has '152' bits. Arg ParamName Name

概述 这个问题出现是在升级自己项目.NET8版本出现的;升级后重新登陆 jwt创建token 报错,意思是密钥需要超过 256 bit,即 设定得密钥太短了 解决方案:密钥加长 水一篇。。。 ......
39 KeyedHashAlgorithm bits algorithmHS 256
共1篇  :1/1页 首页上一页1下一页尾页