摘要: 1.对字符串进行hash大家可以看一下, SHA1 HashesGo by Example写道:The pattern for generating a hash is sha1.New(), sha1.Write(bytes), then sha1.Sum([]byte{}). 附上golang代... 阅读全文
posted @ 2014-06-16 16:37 格通 阅读(4115) 评论(0) 推荐(0) 编辑