随笔分类 - Security
Password Rule
摘要:代码源自 Microsoft.AspNet.Identity 程序集. 1 using System; 2 using System.Net; 3 using System.Security.Cryptography; 4 using System.Text; 5 6 namespace Authe
阅读全文
摘要:string pattern = @"^(?=.*[0-9])(?=.*[!@#$%^&*])[0-9a-zA-Z!@#$%^&*0-9]{10,}$"; string msg = "Password should have one numeral and one special character
阅读全文

浙公网安备 33010602011771号