摘要: this.context.Database.ExecuteSqlCommand("select * from View_Permission"); 阅读全文
posted @ 2017-07-13 18:13 914556495 阅读(95) 评论(0) 推荐(0) 编辑
摘要: SHA1加密 public static string EncryptSHA1(string input, string salt) { // 将密码和salt值转换成字节形式并连接起来 byte[] bytes = Encoding.Unicode.GetBytes(input); byte[] 阅读全文
posted @ 2017-07-13 16:43 914556495 阅读(170) 评论(0) 推荐(0) 编辑