crypto-js-wasm
crypto-js-wasm copied to clipboard
Unable to use "Create an RSA instance" in TypeScript
The code below:
import cryptoWasm from '@originjs/crypto-js-wasm';
const rsa = new cryptoWasm.algo.RSA();
Results in the following error:
This expression is not constructable.
Type 'WasmRSAAlgoClass' has no construct signatures.