is there any builtin javascript string hash function in newest browsers?

前端 未结 3 1951
無奈伤痛
無奈伤痛 2021-02-11 20:02

Everytime a new versions of browsers show up I hear about new stuff being added, like say webGL and other technologies that no one really knows if they catch up.

But I w

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-11 20:45

    Paul Johnston has implemented the following algorithms in javascript

    MD5, RIPEMD-160, SHA-1, SHA-256 and sha-512

    You can find the source code and some examples here: http://pajhome.org.uk/crypt/md5/

    I hope this is what you were looking for.

提交回复
热议问题