摘要: MD5 加密算法里 也是hash算法,根据彩虹数据库1-1匹配 网址:www.cmd5.com using System.Security.Cryptography; //MD5加密算法所在的命名空间 string str = "张三";//用户输入的密码 //把字符串转换成字节数组 byte[] 阅读全文
posted @ 2022-10-31 23:09 Akai_啊凯 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 特性:本质就是一个类,且必须继承至Attribute类使用场景:(框架,类,方法,属性,字段,参数,返回值....)上面,Attribute通过的一些方法,比如:字段有没有定义特性,用来做判断。命名规范:【public class 特性名Attribute : Attribute】 定义时Attri 阅读全文
posted @ 2022-10-31 04:09 Akai_啊凯 阅读(146) 评论(0) 推荐(0) 编辑