收藏一个Hash算法
摘要:
var rand = (function() { var seed = 49734321; return function() { // Robert Jenkins' 32 bit integer hash function. seed = ((seed + 0x7ed55d16) + (seed << 12)) & 0xffffffff; seed = ((seed ^ 0xc761c23c) ^ (seed >>> 19)) & 0xffffffff; seed = ((seed + 0x165667b1) + (se... 阅读全文
posted @ 2012-12-27 15:13 lydiafly 阅读(333) 评论(0) 推荐(0) 编辑