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

前端 未结 3 1949
無奈伤痛
無奈伤痛 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 21:00

    For anybody still looking for this information. There is a WebCrypto API which appears to have been finalised at the beginning of 2017.

    To use it in a browser, you can find it at window.crypto.subtle which contains methods for encryption, digests etc. Documentation on the available functions here.

提交回复
热议问题