blockchain-carbon-accounting icon indicating copy to clipboard operation
blockchain-carbon-accounting copied to clipboard

Enhancements: Migrate to node-forge

Open hs2361 opened this issue 4 years ago • 3 comments

Currently, in the utility-emissions project, NPM package crypto-js is being used for all cryptographic needs. However, it does not extend support for AES-512 encryption. Moreover, crypto-js has lower performance when compared to some other cryptographic libraries. Another NPM package such as node-forge may be more suitable here, as it has support for both of the above methods as well as higher performance compared to crypto-js.

Here is the description: Migrate all cryptographic functions to node-forge in both the chaincode/typescript as well as the typescript_app folders.

hs2361 avatar Aug 02 '21 18:08 hs2361

@hs2361, thank you very much for your suggestions. I agree with both of them. Could you make two separate issues out of this one, please? Thanks!

udosson avatar Aug 03 '21 08:08 udosson

@udosson I have created a new issue for moving from TSLint to ESLint . #268 .

@hs2361

Zzocker avatar Aug 03 '21 08:08 Zzocker

Thanks @Zzocker!

@hs2361 could you change this issue to node-forge only, please? Thanks

udosson avatar Aug 03 '21 09:08 udosson