using Microsoft. AspNetCore. Cryptography. KeyDerivation;
using System;
The namespace SyWeb. Admin. Utils
{
Public static class Encrypt
{
Private static string _salt="UM1qTXSZqWn9xcGCasbEDQ==";
Public static string Pbkdf2 (string password)
{
Byte [] numArray.=the Convert FromBase64String (Encrypt. _salt);
Return the Convert. ToBase64String (KeyDerivation. Pbkdf2 (password, numArray (KeyDerivationPrf) 0, 10000, 32));
}
}
}
What a great god can put Pbkdf2 (' ShanYoung2020! ') to generate the results sent to me
CodePudding user response:
http://anandam.name/pbkdf2/To generate