Closed shanyan-wcx closed 3 months ago
I want to port this API to ArkTs, but ArkTs cannot use node:crypto.
In case you haven't fixed the issue, you can set globalThis.crypto to something implementing the webcrypto API (or just the getRandomValues method which is the only one used here).
I want to port this API to ArkTs, but ArkTs cannot use node:crypto.