Closed elboletaire closed 4 months ago
crypto-js is a good wrapper... I've been trying to directly import crypto
libraries into browser projects and crypto-js
was my final salvation... so I guess it's ok to keep it until there's no other better way to do it or a newer wrapper.
Crypto-js is abandoned (that's what its readme says), we should find a proper replacement for it. Based on their readme info, we should be able to directly use
node:crypto
package, although it's probably cause issues for browsers. Here's another library that may be useful:https://github.com/paulmillr/noble-curves
Edit: the reason why crypto-js is abandoned is because it's just acting as a wrapper of
node:crypto
. We may consider using the native node:crypto module, it only needs to be able to build for browser.