update RSA

This commit is contained in:
2021-05-13 13:29:41 +08:00
parent 9c91b88ddf
commit 6b34ab59c2
4 changed files with 63 additions and 58 deletions

View File

@@ -70,7 +70,7 @@ namespace Ewide.Core.Service
[AllowAnonymous]
public async Task<string> LoginAsync([Required] LoginInput input)
{
var pwd = input.Password; // RSAHandler.RSADecrypt(input.Password);
string pwd = RSAHandler.RSADecrypt(input.Password);
// 获取加密后的密码
var encryptPasswod = MD5Encryption.Encrypt(pwd);