摘要: 刚看到园子里面有个人写新浪微博登录实现,他发的那个是java版,我以前刚好也做过类似的,有一个c#的,贡献出来吧 public class SHA1Util { private static readonly bool hexcase = false; private static readonly string b64pad = "="; private static readonly int chrsz = 8; //得到字符串SHA-1值的方法 public static String hex_sha1(S... 阅读全文
posted @ 2011-11-15 20:47 无记 阅读(1763) 评论(9) 推荐(4) 编辑