crypto-js-wasm icon indicating copy to clipboard operation
crypto-js-wasm copied to clipboard

Unable to use "Create an RSA instance" in TypeScript

Open kokororin opened this issue 8 months ago • 0 comments

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.

kokororin avatar Feb 07 '25 01:02 kokororin