Trying to use libsodium with web worker error TypeError: sodium.crypto_pwhash is not a function

前端 未结 0 1267
长发绾君心
长发绾君心 2020-12-08 13:24

I imported sodium.js using importScripts, but when web worker runs it gives error TypeError: sodium.crypto_pwhash is not a function. Console.log sodium.js in worker however

相关标签:
回答
  • 消灭零回复
提交回复
热议问题