SHA1加密 jQuery.encoding.digests.sha1

openkk 12年前

这是一个实现 SHA1 摘要加密数据的 jQuery 插件。

  • $.encoding.digests.hexSha1Str(str): Return, in hex, the SHA-1 hash of a string

  • $.encoding.digests.sha1Str(str): Return the SHA-1 hash of a string

  • $.encoding.digests.sha1(x,blen): Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words

项目主页:http://www.open-open.com/lib/view/home/1330338960828